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.10.0-rc2~72 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=035ebc0980fb679bffe71ab56dbadd238760092f;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;