aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-10-12 16:27:56 +0200
committerfiaxh <git@lightrise.org>2021-10-12 19:43:57 +0200
commit237081e5735b463b7528f4f3f52978eaf1bfeeca (patch)
tree49d9eaa3156153806fa88c0b7679fd2080d9bd2c /plugins
parente8c162eae3827a4f2abdf97b1e42f7398744c10e (diff)
downloaddino-237081e5735b463b7528f4f3f52978eaf1bfeeca.tar.gz
dino-237081e5735b463b7528f4f3f52978eaf1bfeeca.zip
Fix compiler warnings ('Switch does not handle .. of enum ..')
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo/src/ui/bad_messages_populator.vala2
-rw-r--r--plugins/rtp/src/plugin.vala2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/omemo/src/ui/bad_messages_populator.vala b/plugins/omemo/src/ui/bad_messages_populator.vala
index 7b36c103..bd2474f2 100644
--- a/plugins/omemo/src/ui/bad_messages_populator.vala
+++ b/plugins/omemo/src/ui/bad_messages_populator.vala
@@ -69,6 +69,8 @@ public class BadMessagesPopulator : Plugins.ConversationItemPopulator, Plugins.C
selection.append(")");
qry.where(selection.str, selection_args);
break;
+ case Conversation.Type.GROUPCHAT_PM:
+ break;
}
foreach (Row row in qry) {
diff --git a/plugins/rtp/src/plugin.vala b/plugins/rtp/src/plugin.vala
index 19a266b1..d79fc2aa 100644
--- a/plugins/rtp/src/plugin.vala
+++ b/plugins/rtp/src/plugin.vala
@@ -206,6 +206,8 @@ public class Dino.Plugins.Rtp.Plugin : RootInterface, VideoCallPlugin, Object {
old = devices.first_match((it) => it.matches(device));
if (old != null) devices.remove(old);
break;
+ default:
+ break;
}
if (device != null) {
switch (device.device_class) {