rocketfuel-topology-reader.cc:87:8: error: variable ‘dns’ set but not used

This commit is contained in:
John Abraham
2011-05-18 12:28:03 -04:00
parent 5aec43e279
commit f9017d9423

View File

@@ -156,6 +156,11 @@ RocketfuelTopologyReader::GenerateFromMapsFile (int argc, char *argv[])
<< "(" << "%d" << ") externals: \"%s\"(%d) "
<< "name: " << name << " radius: " << radius);
//cast bb and dns to void, to suppress variable set but not used compiler warning
//in optimized builds
(void) bb;
(void) dns;
// Create node and link
if (!uid.empty ())
{