Browse Source

[2726] Suppress check for no exception on construction

Michal 'vorner' Vaner 12 years ago
parent
commit
8780867306
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/server_common/portconfig.cc

+ 2 - 0
src/lib/server_common/portconfig.cc

@@ -49,6 +49,8 @@ parseAddresses(isc::data::ConstElementPtr addresses,
                         "address and port");
                 }
                 try {
+                    // Just check, don't use the address for anything yet
+                    // cppcheck-suppress unusedScopedObject
                     IOAddress(addr->stringValue());
                     if (port->intValue() < 0 ||
                         port->intValue() > 0xffff) {