From 90d6ddb7d1ac84e926f967ed7e1ae66525e263e7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 18 Jul 2023 17:30:01 +0200 Subject: [PATCH] mixer-control: Remove unused variable subprojects/gvc/gvc-mixer-control.c:1325:22: warning: variable 'stream_port_count' set but not used [-Wunused-but-set-variable] gint stream_port_count = 0; ^ --- gvc-mixer-control.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gvc-mixer-control.c b/gvc-mixer-control.c index 01176cf..e8b64ce 100644 --- a/gvc-mixer-control.c +++ b/gvc-mixer-control.c @@ -1322,7 +1322,6 @@ sync_devices (GvcMixerControl *control, const GList *stream_ports; const GList *n = NULL; gboolean is_output = !GVC_IS_MIXER_SOURCE (stream); - gint stream_port_count = 0; stream_ports = gvc_mixer_stream_get_ports (stream); @@ -1402,7 +1401,6 @@ sync_devices (GvcMixerControl *control, GvcMixerStreamPort *stream_port; stream_port = n->data; - stream_port_count ++; if (match_stream_with_devices (control, stream_port, stream)) continue;