topology-read: Account for unused variable

This commit is contained in:
Ivey
2024-11-19 12:33:42 -05:00
committed by Gabriel Ferreira
parent 4a26d00d1c
commit 381101fd52

View File

@@ -250,7 +250,7 @@ RocketfuelTopologyReader::GenerateFromWeightsFile(const std::vector<std::string>
sname = argv[0];
tname = argv[1];
std::stod(argv[2], &endptr); // weight
double weight [[maybe_unused]] = std::stod(argv[2], &endptr);
if (argv[2].size() != endptr)
{