X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=19b9e5117f3c6bf4696d74224f1de0d7f20e0fe9;hb=a585578f837d992f00eba4f090c8ba251d9de94e;hp=42c9d13907f4594f60f70ec01bc76fa1242f91f0;hpb=896e28162c29894a242ee28bc0107cdb017969da;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index 42c9d1390..19b9e5117 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -2003,7 +2003,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;