From: Mukund Sivaraman Date: Wed, 19 Dec 2012 04:59:56 +0000 (+0530) Subject: [2507] Suppress another false positive X-Git-Tag: bind10-1.0.0-rc-release~76^2~21^2~2^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00ae760dd4d30c5944dfb70a892c15004a1f07ee;p=thirdparty%2Fkea.git [2507] Suppress another false positive first is used in the condition during the next iteration of the loop. --- diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index 8d9d099496..f32e5d2d5d 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -99,6 +99,7 @@ public: if (!first) { stream << ", "; } else { + // cppcheck-suppress unreadVariable first = false; } if (param.first == "name") {