Browse Source

[3919] Suppress cppcheck warning for item_default

Francis Dupont 10 years ago
parent
commit
fdc31435c1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/config/tests/module_spec_unittests.cc

+ 1 - 0
src/lib/config/tests/module_spec_unittests.cc

@@ -290,6 +290,7 @@ TEST(ModuleSpec, CheckFormat) {
     std::vector<std::string> specs;
     ConstElementPtr el;
 
+    // cppcheck-suppress redundantAssignment
     specs.clear();
     item_default = "\"item_default\": \"2011-05-27T19:42:57Z\",";
     item_format  = "\"item_format\": \"date-time\"";