mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-12-03 23:30:40 -05:00
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; ^
This commit is contained in:
parent
20b8a46c39
commit
90d6ddb7d1
@ -1322,7 +1322,6 @@ sync_devices (GvcMixerControl *control,
|
|||||||
const GList *stream_ports;
|
const GList *stream_ports;
|
||||||
const GList *n = NULL;
|
const GList *n = NULL;
|
||||||
gboolean is_output = !GVC_IS_MIXER_SOURCE (stream);
|
gboolean is_output = !GVC_IS_MIXER_SOURCE (stream);
|
||||||
gint stream_port_count = 0;
|
|
||||||
|
|
||||||
stream_ports = gvc_mixer_stream_get_ports (stream);
|
stream_ports = gvc_mixer_stream_get_ports (stream);
|
||||||
|
|
||||||
@ -1402,7 +1401,6 @@ sync_devices (GvcMixerControl *control,
|
|||||||
|
|
||||||
GvcMixerStreamPort *stream_port;
|
GvcMixerStreamPort *stream_port;
|
||||||
stream_port = n->data;
|
stream_port = n->data;
|
||||||
stream_port_count ++;
|
|
||||||
|
|
||||||
if (match_stream_with_devices (control, stream_port, stream))
|
if (match_stream_with_devices (control, stream_port, stream))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user