Message ID | 20240124124927.3551e982@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 3b6096fc8d2865fae0deafc2723aec8c7742342e |
Headers | show |
Series | [v2] trace-cmd split: Initialize current in parse_file() | expand |
diff --git a/tracecmd/trace-split.c b/tracecmd/trace-split.c index b6c056b5f34b..8c710da15f78 100644 --- a/tracecmd/trace-split.c +++ b/tracecmd/trace-split.c @@ -358,7 +358,7 @@ static unsigned long long parse_file(struct tracecmd_input *handle, enum split_types type, bool *end_reached) { - unsigned long long current; + unsigned long long current = 0; struct tracecmd_output *ohandle; struct cpu_data *cpu_data; struct tep_record *record;