Clean-up: remove unused variables to silence gcc warning
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 May 2017 15:52:07 +0000 (11:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 May 2017 16:01:14 +0000 (12:01 -0400)
commit57f3f0d01926509259754f92d00a9c1b146a87b7
tree744f155d76f022214eeaffd36c9ca65bc844b59f
parentf45930b75b297a5f80fe14ef2550b196ca750b4a
Clean-up: remove unused variables to silence gcc warning

GCC 6.3.1 warns that two variables (write_offset and consumed_cur)
in lib_ring_buffer_snapshot_sample_positions() are unused.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c
This page took 0.024592 seconds and 4 git commands to generate.