summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-device-switch.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-12-09 12:05:16 +0100
committerlukefromdc <[email protected]>2019-12-10 18:39:02 +0000
commit004f668b29549a4b4c041f6d27b15898a9d7acc5 (patch)
tree35e5e5936f1089e427fc0156ed0a679f7c8de36b /backends/pulse/pulse-device-switch.c
parent8138877b8f12881deec7e40aad9ebbf39e8826a8 (diff)
downloadlibmatemixer-004f668b29549a4b4c041f6d27b15898a9d7acc5.tar.bz2
libmatemixer-004f668b29549a4b4c041f6d27b15898a9d7acc5.tar.xz
Fix cppcheck [syntaxError] warnings
Diffstat (limited to 'backends/pulse/pulse-device-switch.c')
-rw-r--r--backends/pulse/pulse-device-switch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/pulse/pulse-device-switch.c b/backends/pulse/pulse-device-switch.c
index 5e82e1f..2d4c7c0 100644
--- a/backends/pulse/pulse-device-switch.c
+++ b/backends/pulse/pulse-device-switch.c
@@ -126,7 +126,7 @@ pulse_device_switch_set_active_profile_by_name (PulseDeviceSwitch *swtch, const
g_return_if_fail (name != NULL);
item = g_list_find_custom (swtch->priv->profiles, name, compare_profile_name);
- if G_UNLIKELY (item == NULL) {
+ if (G_UNLIKELY (item == NULL)) {
g_debug ("Invalid device switch profile name %s", name);
return;
}
@@ -144,7 +144,7 @@ pulse_device_switch_set_active_option (MateMixerSwitch *mms, MateMixerSwitchOpti
g_return_val_if_fail (PULSE_IS_DEVICE_PROFILE (mmso), FALSE);
device = mate_mixer_device_switch_get_device (MATE_MIXER_DEVICE_SWITCH (mms));
- if G_UNLIKELY (device == NULL)
+ if (G_UNLIKELY (device == NULL))
return FALSE;
device_name = mate_mixer_device_get_name (device);