]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3919] Suppress cppcheck warning for v4Opts
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:09:19 +0000 (13:09 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 11:09:19 +0000 (13:09 +0200)
src/bin/perfdhcp/tests/perf_pkt4_unittest.cc

index 0c616745b3b08bea6eed7130e7cbcb62046907a4..2c248c824fa036e868e741eea8fb02e8fda8ae28 100644 (file)
@@ -74,6 +74,7 @@ public:
             255, 255, 255, 255,     // giaddr
         };
 
+       // cppcheck-suppress variableScope
         uint8_t v4Opts[] = {
             DHO_HOST_NAME, 3, 0,   1,  2,  // Host name option.
             DHO_BOOT_SIZE, 3, 10, 11, 12,  // Boot file size option