Re: [PATCH v3 07/25] sequencer: completely revamp the "todo" script parsing
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Oct 15, 2016, 17:03 UTC
- Message-ID
- <933b13d6-5f24-c03a-a1a0-712ceb8ddcc8@web.de>
- In-Reply-To
- <4e73ba3e8c1700259ffcc3224d1f66e6a760142d.1476120229.git.johannes.schindelin@gmx.de>
Not sure is this has been reported before:
sequencer.c:633:14: warning: comparison of constant 2 with expression of type 'const enum todo_command' is always true [-Wtautological-constant-out-of-range-compare]
if (command < ARRAY_SIZE(todo_command_strings))
~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.53f8024e (Johannes Schindelin 2016-10-10 19:25:07 +0200 633) if (command < ARRAY_SIZE(todo_command_strings))