magic/commands
Darryl L. Miles 9225fa6cf1 4 x warning: suggest explicit braces to avoid ambiguous 'else'
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]
2024-10-09 21:12:55 -04:00
..
CmdAB.c Corrected an extraction issue in which an error message about 2023-10-16 17:29:05 -04:00
CmdAuto.c Updates from running the fix-ending-whitespace script. 2020-05-23 17:13:14 -04:00
CmdCD.c Corrected an error that was introduced in the August 3 commit and 2024-09-25 21:26:41 -04:00
CmdE.c GCC14: warning: missing braces around initializer 2024-10-09 21:12:55 -04:00
CmdFI.c Corrected an issue with "flatten -doinplace" with no cell name 2023-07-28 15:25:42 -04:00
CmdLQ.c commands/CmdLQ.c: Call to function with fewer arguments than declared parameters 2024-10-01 12:36:12 -04:00
CmdRS.c GCC14: warning: missing braces around initializer 2024-10-09 21:12:55 -04:00
CmdSubrs.c GCC14: warning: missing braces around initializer 2024-10-09 21:12:55 -04:00
CmdTZ.c 4 x warning: suggest explicit braces to avoid ambiguous 'else' 2024-10-09 21:12:55 -04:00
CmdWizard.c commands/CmdWizard.c: %x => (intmax_t) %lx 2024-10-01 12:36:13 -04:00
Makefile Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky 2017-04-25 08:41:48 -04:00
commands.h Compatibility with C99 standard 2022-10-29 06:07:46 +02:00