Skip to content

Commit

Permalink
Enable -Wunused-variable in python/PACKAGE
Browse files Browse the repository at this point in the history
Summary:
This diff enables compilation warning flags for the directory in question. Further details are in [this workplace post](https://fb.workplace.com/permalink.php?story_fbid=pfbid02XaWNiCVk69r1ghfvDVpujB8Hr9Y61uDvNakxiZFa2jwiPHscVdEQwCBHrmWZSyMRl&id=100051201402394).

This is a low-risk diff. There are **no run-time effects** and the diff has already been observed to compile locally. **If the code compiles, it work; test errors are spurious.**

Reviewed By: palmje, cxxxs

Differential Revision: D66847556

fbshipit-source-id: cc1b0afa7f1a5748834025bf7eb0c9fcc02b232b
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 13, 2024
1 parent a69f4c5 commit 90575bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/tree-sitter-python/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -8928,7 +8928,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {

static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
START_LEXER();
bool eof = lexer->eof(lexer);
lexer->eof(lexer);
switch (state) {
case 0:
if (lookahead == '\t' ||
Expand Down

0 comments on commit 90575bd

Please sign in to comment.