From: David Goulet Date: Tue, 10 Apr 2012 14:59:07 +0000 (-0400) Subject: Fix: remove unused return variable X-Git-Tag: v2.1.0-rc1~157 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6bd8707a9f610a6214a90047781e52fdbb13fb48;p=lttng-tools.git Fix: remove unused return variable Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index 6e9cc006f..5a6825e6e 100644 --- a/src/bin/lttng-sessiond/event.c +++ b/src/bin/lttng-sessiond/event.c @@ -245,7 +245,7 @@ end: int event_kernel_enable_all(struct ltt_kernel_session *ksession, struct ltt_kernel_channel *kchan, int kernel_tracer_fd) { - int tp_ret, syscall_ret; + int tp_ret; tp_ret = event_kernel_enable_all_tracepoints(ksession, kchan, kernel_tracer_fd); if (tp_ret != LTTCOMM_OK) { @@ -261,8 +261,7 @@ int event_kernel_enable_all(struct ltt_kernel_session *ksession, * tracepoints did not fail. Future work will allow us to send back * multiple errors to the client in one API call. */ - syscall_ret = event_kernel_enable_all_syscalls(ksession, kchan, - kernel_tracer_fd); + (void) event_kernel_enable_all_syscalls(ksession, kchan, kernel_tracer_fd); end: return tp_ret;