X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.c;h=b345c2834315f28bdaef0c0ddf6a4c129794b908;hp=c6bb388ebcab793a97badf56e283c832f84b5378;hb=1e2bb0af39b263c2bba440e3f20a58c596c870c6;hpb=69ebf37e42e67cbd8dca80e9f5f074e88770af2d diff --git a/src/lib/lttng-ctl/destruction-handle.c b/src/lib/lttng-ctl/destruction-handle.c index c6bb388eb..b345c2834 100644 --- a/src/lib/lttng-ctl/destruction-handle.c +++ b/src/lib/lttng-ctl/destruction-handle.c @@ -394,7 +394,7 @@ enum lttng_error_code lttng_destroy_session_ext(const char *session_name, int sessiond_socket = -1; struct lttng_destruction_handle *handle = NULL; - if (!session_name || !_handle) { + if (!session_name) { ret_code = LTTNG_ERR_INVALID; goto error; }