From 3bbded733389e8a1aa0197fce41c5451c9af5d6b Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 21 Dec 2020 01:49:23 +0100 Subject: Fix build warnings --- src/desktop.vala | 4 ++++ src/killswitch.vala | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'src') 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. -- cgit v1.2.3