Move to kernel style SPDX license identifiers
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.c
index cfe4371186447a1bbe51f8676e59550c7b7efcf3..4e49120732da5f5753e7322c5e60d99163e5881c 100644 (file)
@@ -4,20 +4,10 @@
  * Linux Trace Toolkit Control Library
  *
  * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
- * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (C) 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License, version 2.1 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #define _LGPL_SOURCE
@@ -3134,7 +3124,7 @@ static int lttng_track_untrack_id(struct lttng_handle *handle,
 {
        int ret;
        struct lttcomm_session_msg lsm;
-       const char *var_data;
+       const char *var_data = NULL;
        size_t var_data_len = 0;
        int value;
        enum lttng_tracker_id_status status;
This page took 0.023353 seconds and 4 git commands to generate.