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 27, 2024
1 parent 4f8e5ac commit 132536f
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 132536f

Please sign in to comment.