summaryrefslogtreecommitdiff
path: root/plugins/media-keys
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-21 20:44:51 +0100
committerLuke from DC <[email protected]>2021-02-01 03:57:01 +0000
commit0bd62655b7b298069fbe8618a30ccc996aef79f9 (patch)
treed051d06775f039c2bafd216157a5c359f86a90f4 /plugins/media-keys
parent5c5bc168873c840f64545527cd245b2e87ada488 (diff)
downloadmate-settings-daemon-0bd62655b7b298069fbe8618a30ccc996aef79f9.tar.bz2
mate-settings-daemon-0bd62655b7b298069fbe8618a30ccc996aef79f9.tar.xz
cppcheck warning: Variable is assigned a value that is never used
Diffstat (limited to 'plugins/media-keys')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index 14cb02d..09eaefb 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -600,7 +600,6 @@ do_eject_action (MsdMediaKeysManager *manager)
continue;
if (score < SCORE_HAS_MEDIA) {
fav_drive = drive;
- score = SCORE_HAS_MEDIA;
break;
}
}