Fix: remove unused return variable
authorDavid Goulet <dgoulet@efficios.com>
Tue, 10 Apr 2012 14:59:07 +0000 (10:59 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 10 Apr 2012 14:59:07 +0000 (10:59 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/event.c

index 6e9cc006f9e32b3540910dc79c2578ec94e23d40..5a6825e6ef8a7412ec679bbb9f0c67cb95b12e7b 100644 (file)
@@ -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;
This page took 0.02575 seconds and 4 git commands to generate.