mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
CmdCD.c: 'option' is used uninitialized
CmdCD.c:3693:14: warning: variable 'option' is used uninitialized whenever 'if' condition is false CmdCD.c:3691:9: warning: variable 'option' is used uninitialized whenever 'if' condition is true clang18 -Wall warning cleanup [-Wsometimes-uninitialized]
This commit is contained in:
committed by
Tim Edwards
parent
fc49b40c52
commit
489de7fdb4
+1
-1
@@ -3684,7 +3684,7 @@ CmdCrash(w, cmd)
|
||||
MagWindow *w;
|
||||
TxCommand *cmd;
|
||||
{
|
||||
int option;
|
||||
int option = -1;
|
||||
char *filename = NULL;
|
||||
static char *cmdCrashOpt[] = {"save", "recover", 0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user