Skip to content

Commit

Permalink
std::ignore unneeded output
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Rift <anna.rift@hpe.com>
  • Loading branch information
riftEmber committed May 24, 2024
1 parent c4cbfa3 commit 4513cac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/lib/parsing/parsing-queries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ static const AstNode* const& astForIdQuery(Context* context, ID id) {
// If looking up the ID of a bundled type, ensure the module defining it is
// parsed first.
if (types::CompositeType::isBundledType(id)) {
parsing::getToplevelModule(
std::ignore = parsing::getToplevelModule(
context, ID::expandSymbolPath(context, id.symbolPath())[0].first);
}

Expand Down Expand Up @@ -973,7 +973,8 @@ static const AstTag& idToTagQuery(Context* context, ID id) {
if (ast != nullptr) {
result = ast->tag();
} else {
(void)types::CompositeType::isMissingBundledType(context, id, &result);
std::ignore =
types::CompositeType::isMissingBundledType(context, id, &result);
}
}

Expand Down

0 comments on commit 4513cac

Please sign in to comment.