Message ID | 20240124123439.3441eb6f@gandalf.local.home (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | trace-cmd split: Initialize current in parse_file() | expand |
diff --git a/tracecmd/trace-split.c b/tracecmd/trace-split.c index 0820a3bb0721..2c311b3d6be3 100644 --- a/tracecmd/trace-split.c +++ b/tracecmd/trace-split.c @@ -480,7 +480,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 handle_list *handle_entry; struct tracecmd_output *ohandle; struct cpu_data *cpu_data;