perf tools: Assign default value for some pointers

Assign default value for pointers that are identified by the compiler as
non-initialized.

Signed-off-by: Martin Liska <mliska@suse.cz>
Acked-by: Ingo Molnar <mingo@kernel.org>
Link: http://lkml.kernel.org/r/5564393C.1090104@suse.cz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Martin Liška
2015-05-26 11:41:37 -03:00
committed by Arnaldo Carvalho de Melo
parent 4bb7123dcf
commit 5bcaaca3e4
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ void parse_ftrace_printk(struct pevent *pevent,
char *line;
char *next = NULL;
char *addr_str;
char *fmt;
char *fmt = NULL;
line = strtok_r(file, "\n", &next);
while (line) {