diff options
author | Pablo Barciela <[email protected]> | 2019-04-17 04:07:18 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-04-18 01:25:24 +0200 |
commit | eef2c6b47b4c48b71f6122a12ac12f08520e5481 (patch) | |
tree | f2087c2d398f60edd78a2ac25be2654641de2f4b /mate-volume-control/gvc-mixer-dialog.c | |
parent | 3ae6314f2574b99ea70f7ecffb7740526db5011c (diff) | |
download | mate-media-eef2c6b47b4c48b71f6122a12ac12f08520e5481.tar.bz2 mate-media-eef2c6b47b4c48b71f6122a12ac12f08520e5481.tar.xz |
mate-volume-control: Fix 'syntax error' detected with 'cppcheck'
Fixes cppcheck warnings:
[mate-volume-control/gvc-applet.c:118]: (error) syntax error
[mate-volume-control/gvc-applet.c:133]: (error) syntax error
[mate-volume-control/gvc-applet.c:184]: (error) syntax error
[mate-volume-control/gvc-applet.c:287]: (error) syntax error
[mate-volume-control/gvc-applet.c:290]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:111]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:309]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:317]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:428]: (error) syntax error
[mate-volume-control/gvc-mixer-dialog.c:793]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:107]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:122]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:175]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:280]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:283]: (error) syntax error
Diffstat (limited to 'mate-volume-control/gvc-mixer-dialog.c')
-rw-r--r-- | mate-volume-control/gvc-mixer-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-volume-control/gvc-mixer-dialog.c b/mate-volume-control/gvc-mixer-dialog.c index 1f28427..4acd9bc 100644 --- a/mate-volume-control/gvc-mixer-dialog.c +++ b/mate-volume-control/gvc-mixer-dialog.c @@ -790,7 +790,7 @@ on_stream_control_added (MateMixerStream *stream, MateMixerStreamControlRole role; control = mate_mixer_stream_get_control (stream, name); - if G_UNLIKELY (control == NULL) + if (G_UNLIKELY (control == NULL)) return; role = mate_mixer_stream_control_get_role (control); |