X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fdestruction-handle.c;h=ee153879200f1313ea448adcd4e77f92c9b87859;hb=1eb8482b81a321ecc6512fd8e8be82666d6ef73b;hp=55e1604363bfd87648b91f7937fdcb58771d0c84;hpb=8a7e10535bbc1907840405493e3408a217b6c7c1;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/destruction-handle.c b/src/lib/lttng-ctl/destruction-handle.c index 55e160436..ee1538792 100644 --- a/src/lib/lttng-ctl/destruction-handle.c +++ b/src/lib/lttng-ctl/destruction-handle.c @@ -404,7 +404,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; }