diff options
Diffstat (limited to 'tools/lib/traceevent/event-parse.c')
-rw-r--r-- | tools/lib/traceevent/event-parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/traceevent/event-parse.c b/tools/lib/traceevent/event-parse.c index 93825a17dcce..cf3a44bf1ec3 100644 --- a/tools/lib/traceevent/event-parse.c +++ b/tools/lib/traceevent/event-parse.c | |||
@@ -2395,7 +2395,7 @@ process_flags(struct event_format *event, struct print_arg *arg, char **tok) | |||
2395 | { | 2395 | { |
2396 | struct print_arg *field; | 2396 | struct print_arg *field; |
2397 | enum event_type type; | 2397 | enum event_type type; |
2398 | char *token; | 2398 | char *token = NULL; |
2399 | 2399 | ||
2400 | memset(arg, 0, sizeof(*arg)); | 2400 | memset(arg, 0, sizeof(*arg)); |
2401 | arg->type = PRINT_FLAGS; | 2401 | arg->type = PRINT_FLAGS; |
@@ -2448,7 +2448,7 @@ process_symbols(struct event_format *event, struct print_arg *arg, char **tok) | |||
2448 | { | 2448 | { |
2449 | struct print_arg *field; | 2449 | struct print_arg *field; |
2450 | enum event_type type; | 2450 | enum event_type type; |
2451 | char *token; | 2451 | char *token = NULL; |
2452 | 2452 | ||
2453 | memset(arg, 0, sizeof(*arg)); | 2453 | memset(arg, 0, sizeof(*arg)); |
2454 | arg->type = PRINT_SYMBOL; | 2454 | arg->type = PRINT_SYMBOL; |
@@ -2487,7 +2487,7 @@ process_hex(struct event_format *event, struct print_arg *arg, char **tok) | |||
2487 | { | 2487 | { |
2488 | struct print_arg *field; | 2488 | struct print_arg *field; |
2489 | enum event_type type; | 2489 | enum event_type type; |
2490 | char *token; | 2490 | char *token = NULL; |
2491 | 2491 | ||
2492 | memset(arg, 0, sizeof(*arg)); | 2492 | memset(arg, 0, sizeof(*arg)); |
2493 | arg->type = PRINT_HEX; | 2493 | arg->type = PRINT_HEX; |