From: Jérémie Galarneau Date: Tue, 9 May 2017 12:20:17 +0000 (-0400) Subject: Clean-up: unused variable warning in poll compat X-Git-Tag: v2.11.0-rc1~593 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8a2827515ad2b019753b84bcc3cb726af4ae428d;p=lttng-tools.git Clean-up: unused variable warning in poll compat Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/compat/compat-poll.c b/src/common/compat/compat-poll.c index 2b459e42f..b45b39dc6 100644 --- a/src/common/compat/compat-poll.c +++ b/src/common/compat/compat-poll.c @@ -203,7 +203,7 @@ error: int compat_poll_mod(struct lttng_poll_event *events, int fd, uint32_t req_events) { - int ret, i; + int i; bool fd_found = false; struct compat_poll_event_array *current;