Relicence all source and header files included in LGPL code
[lttng-tools.git] / src / common / spawn-viewer.c
index 1d668157f729e11e47f5fb199976c0b0a0b771d1..13cc79213e72776361ce6919b1fcc5f891dca95a 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com>
  *
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
  */
 
@@ -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.028672 seconds and 4 git commands to generate.