summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2022-11-01 21:21:03 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-11-22 12:22:22 +0000
commit0e9c6b1e32f5ef38286ff2e0774ba69caf2eee7b (patch)
tree4ff5616be7b9d0ad7a590d8c4018c43323620cc3 /lib
parentc301075386ff72d4b8e1672d8cdad2d815a9d4b0 (diff)
main/lib: mark unused variables
Bringing in the meson infrastructure will enable extra warnings, including -Wunused... Directly reference the two locations that have known unused arguments. Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stream.c b/lib/stream.c
index 168dc71..1988e7c 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -36,7 +36,8 @@ struct uvc_stream
* Video streaming
*/
-static void uvc_stream_source_process(void *d, struct video_source *src,
+static void uvc_stream_source_process(void *d,
+ struct video_source *src __attribute__((unused)),
struct video_buffer *buffer)
{
struct uvc_stream *stream = d;