Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 90575bd

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Enable -Wunused-variable in python/PACKAGE
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
1 parent a69f4c5 commit 90575bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/tree-sitter-python/src/parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8928,7 +8928,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) {
89288928

89298929
static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) {
89308930
START_LEXER();
8931-
bool eof = lexer->eof(lexer);
8931+
lexer->eof(lexer);
89328932
switch (state) {
89338933
case 0:
89348934
if (lookahead == '\t' ||

0 commit comments

Comments
 (0)