|
@@ -49,7 +49,8 @@ parseAddresses(isc::data::ConstElementPtr addresses,
|
|
"address and port");
|
|
"address and port");
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
- // Just check, don't use the address for anything yet
|
|
|
|
|
|
+ // We create an IOAddress object to just check that
|
|
|
|
+ // construction passes. It is immediately destroyed.
|
|
// cppcheck-suppress unusedScopedObject
|
|
// cppcheck-suppress unusedScopedObject
|
|
IOAddress(addr->stringValue());
|
|
IOAddress(addr->stringValue());
|
|
if (port->intValue() < 0 ||
|
|
if (port->intValue() < 0 ||
|