]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3919] Suppress cppcheck warning for item_default
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:16:48 +0000 (13:16 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:16:48 +0000 (13:16 +0200)
src/lib/config/tests/module_spec_unittests.cc

index 87eb315d2b556a82babe006d38d8b9aa78783c17..9e61c9ea122c3191024cae2e164682fd4eec2659 100644 (file)
@@ -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\"";