Skip to content

Commit

Permalink
Silence broken gcc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed May 28, 2024
1 parent 4cf180e commit c2b6a60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bug_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ std::pair<std::string_view, std::string> maybeAddSourceInfo(const T &t, std::str
if constexpr (Util::has_SourceInfo_v<T>)
return getPositionTail(t.getSourceInfo(), position, tail);

(void)position;
(void)tail;
return {"", ""};
}

Expand Down

0 comments on commit c2b6a60

Please sign in to comment.