aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-12-21 01:49:23 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-12-22 15:47:45 +0100
commit3bbded733389e8a1aa0197fce41c5451c9af5d6b (patch)
treed29a4192d6ab323b93b367dec19e06d6fffc5792 /src
parent4634e4025626c9d8d9edc7bd1d1980e75d0c5ec4 (diff)
downloadayatana-indicator-bluetooth-3bbded733389e8a1aa0197fce41c5451c9af5d6b.tar.gz
ayatana-indicator-bluetooth-3bbded733389e8a1aa0197fce41c5451c9af5d6b.tar.bz2
ayatana-indicator-bluetooth-3bbded733389e8a1aa0197fce41c5451c9af5d6b.zip
Fix build warnings
Diffstat (limited to 'src')
-rw-r--r--src/desktop.vala4
-rw-r--r--src/killswitch.vala4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/desktop.vala b/src/desktop.vala
index ea3a806..50ed129 100644
--- a/src/desktop.vala
+++ b/src/desktop.vala
@@ -168,6 +168,10 @@ class Desktop: Profile
submenu.append (_("Sound Settingsā€¦"),
"indicator.desktop-show-settings::sound");
break;
+
+ default:
+
+ break;
}
// only show the device if it's got actions that we can perform on it
diff --git a/src/killswitch.vala b/src/killswitch.vala
index 0b900c0..56d23dc 100644
--- a/src/killswitch.vala
+++ b/src/killswitch.vala
@@ -161,6 +161,10 @@ public class RfKillSwitch: KillSwitch, Object
case Linux.RfKillOp.DEL:
entries.remove (event.idx);
break;
+
+ default:
+
+ break;
}
/* update our blocked property.