Give compiler the extra braces it recommends. DBio.c edited as my original change was caught out by the incorrect indention of the 'else' keyword and my modification would have caused a NULL deref. Exactly the kind of issue this warning is trying to prevent. CmdTZ.c:417:20: warning: suggest explicit braces to avoid ambiguous 'else' DBio.c:1422:12: warning: suggest explicit braces to avoid ambiguous 'else' DBpaint2.c:285:12: warning: suggest explicit braces to avoid ambiguous 'else' DBpaint2.c:384:12: warning: suggest explicit braces to avoid ambiguous 'else' GCC14 -Wall cleanup series [-Wdangling-else] |
||
|---|---|---|
| .. | ||
| CmdAB.c | ||
| CmdAuto.c | ||
| CmdCD.c | ||
| CmdE.c | ||
| CmdFI.c | ||
| CmdLQ.c | ||
| CmdRS.c | ||
| CmdSubrs.c | ||
| CmdTZ.c | ||
| CmdWizard.c | ||
| Makefile | ||
| commands.h | ||