lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 225cf10 09/22: Avoid a warning by a different


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 225cf10 09/22: Avoid a warning by a different means
Date: Sat, 28 Mar 2020 18:23:36 -0400 (EDT)

branch: master
commit 225cf10767acc715e830e90fabefdfdc562c07ed
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Avoid a warning by a different means
---
 md5sum_test.cpp | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/md5sum_test.cpp b/md5sum_test.cpp
index d240fe5..cd36c9d 100644
--- a/md5sum_test.cpp
+++ b/md5sum_test.cpp
@@ -64,13 +64,10 @@ char const* test_text_checksum = test_bin_checksum;
 
 char const* md5sums_filename = "md5_sums";
 
-// TODO: Ignore asterisk character in strings while processing a code with
-// `test_coding_rules` utility to not generate "should fuse '*' with type"
-// warning.
-// Use the '\x2a' esqape sequence to workaround the issue mentioned above.
+// Doubled '""': avoid "should fuse '*' with type" warning.
 std::string const md5sums_text =
     "00112233445566778899aabbccddeeff  test.txt\n"
-    "ffeeddccbbaa99887766554433221100 \x2atest.bin\n"
+    "ffeeddccbbaa99887766554433221100 *""test.bin\n"
     ;
 
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]