spawn-viewer: silence bogus warning on gcc 5.4.0 PPC32
[lttng-tools.git] / src / common / spawn-viewer.c
index 1d668157f729e11e47f5fb199976c0b0a0b771d1..4ca0ce1a2f45a92c8e1772c906355ce05de558ce 100644 (file)
@@ -69,7 +69,7 @@ static char **alloc_argv_from_user_opts(char *opts, const char *trace_path)
 {
        int i = 0, ignore_space = 0;
        unsigned int num_opts = 1;
-       char **argv, *token = opts, *saveptr;
+       char **argv, *token = opts, *saveptr = NULL;
 
        /* Count number of arguments. */
        do {
This page took 0.023856 seconds and 4 git commands to generate.