Commit a24df34
committed
Silence Clang warning in generated psqlplus parser
Clang warns that the generated SQL*Plus parser keeps a local yynerrs
counter that is assigned but never read. The warning comes from Bison
output, not from handwritten parser actions.
Warning excerpt:
```
psqlplusparse.c:983:9: warning: variable psqlplus_yynerrs set but not used
[-Wunused-but-set-variable]
```
Follow the existing PostgreSQL grammar pattern by referencing
yynerrs with (void) yynerrs in the top-level rule action.1 parent 0da228b commit a24df34
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
0 commit comments