Message ID | 20210412155201.16c9f0a2@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | libtraceevent: Clean up tep_parse_printk_formats() variables | expand |
diff --git a/src/event-parse.c b/src/event-parse.c index 8d1ac65..732987a 100644 --- a/src/event-parse.c +++ b/src/event-parse.c @@ -931,11 +931,11 @@ void tep_print_printk(struct tep_handle *tep) int tep_parse_printk_formats(struct tep_handle *tep, const char *buf) { unsigned long long addr; + char *addr_str; char *copy; char *printk; char *line; - char *next = NULL; - char *addr_str; + char *next; char *fmt; int ret = -1;