Message ID | 20250410093810.14642ddc@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | d6241881679fbc96ea1045dd2c5ca04631a76150 |
Headers | show |
Series | trace-cmd sqlhist: Initialize err value to tracefs_sql() | expand |
diff --git a/tracecmd/trace-sqlhist.c b/tracecmd/trace-sqlhist.c index 9f2b94e6..ee7eed82 100644 --- a/tracecmd/trace-sqlhist.c +++ b/tracecmd/trace-sqlhist.c @@ -28,7 +28,7 @@ static int do_sql(const char *instance_name, struct tep_handle *tep; struct trace_seq seq; enum tracefs_synth_handler handler; - char *err; + char *err = NULL; int ret; if ((action & ACTIONS) && !var)