Gui: Fix compiler warnings

This commit is contained in:
Chris Hennes
2025-07-19 17:57:20 -05:00
committed by Kacper Donat
parent aa785f78d6
commit 1af908409e
3 changed files with 8 additions and 8 deletions

View File

@@ -416,7 +416,7 @@ std::unique_ptr<Expr> Parser::parseNumber()
std::string unit = parseUnit();
return std::make_unique<Number>(value, unit);
}
catch (std::invalid_argument& e) {
catch (std::invalid_argument&) {
THROWM(Base::ParserError, fmt::format("Invalid number: {}", number));
}
}