Message ID | 20241104152335.0fcb2d7d@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 201f95fdbe7c344a5875e5d78362bfdded74c2a9 |
Headers | show |
Series | trace-cmd sqlhist: Fix missing initialization of a var | expand |
diff --git a/tracecmd/trace-sqlhist.c b/tracecmd/trace-sqlhist.c index f53feb24..9e304e43 100644 --- a/tracecmd/trace-sqlhist.c +++ b/tracecmd/trace-sqlhist.c @@ -137,7 +137,7 @@ void trace_sqlhist (int argc, char **argv) bool execute = false; char **save_fields = NULL; const char *name; - const char *var; + const char *var = NULL; char **save_argv; int action = 0; char *tok;