Skip to content

Commit

Permalink
nixd/Parser: remove unused int res (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Jul 10, 2023
1 parent a445757 commit 4dfe9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixd/include/nixd/Parser/Epilogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::unique_ptr<ParseData> parse(char *text, size_t length, Pos::Origin origin,

yylex_init(&scanner);
yy_scan_buffer(text, length, scanner);
int res = yyparse(scanner, data.get());
yyparse(scanner, data.get());
yylex_destroy(scanner);
data->STable = std::make_unique<nix::SymbolTable>(state.symbols);
data->PTable = std::make_unique<nix::PosTable>(state.positions);
Expand Down

0 comments on commit 4dfe9a3

Please sign in to comment.