Skip to content

Commit

Permalink
Fix an unused variable warning in no-asserts build mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gribozavr committed May 17, 2022
1 parent 6da3d66 commit 9c6a2f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang-tools-extra/pseudo/lib/GLR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const ForestNode &glrParse(const TokenStream &Tokens, const ParseParams &Params,
SymbolID StartSymbol) {
llvm::ArrayRef<ForestNode> Terminals = Params.Forest.createTerminals(Tokens);
auto &G = Params.G;
(void)G;
auto &GSS = Params.GSStack;

// Lists of active shift, reduce, accept actions.
Expand Down

0 comments on commit 9c6a2f2

Please sign in to comment.