X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=27588f2047c7f3061c4af3fa2f0853066d11bf05;hp=5f078c94ad67b4fbf635d77f493084d970e63cb2;hb=ebbf5ab7ebfa3774d5ca1a26d63013384f7e1407;hpb=8de4f9412d9681725c48f984c9e160773fdcf8c9 diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index 5f078c94a..27588f204 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -2004,7 +2004,8 @@ end: int lttng_list_tracker_pids(struct lttng_handle *handle, int *_enabled, int32_t **_pids, size_t *_nr_pids) { - int ret, enabled = 1; + int ret; + int enabled = 1; struct lttcomm_session_msg lsm; size_t nr_pids; int32_t *pids;