From 237081e5735b463b7528f4f3f52978eaf1bfeeca Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 12 Oct 2021 16:27:56 +0200 Subject: Fix compiler warnings ('Switch does not handle .. of enum ..') --- xmpp-vala/src/module/xep/0045_muc/module.vala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmpp-vala/src/module') diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala index 718ad255..4cab9b6a 100644 --- a/xmpp-vala/src/module/xep/0045_muc/module.vala +++ b/xmpp-vala/src/module/xep/0045_muc/module.vala @@ -193,6 +193,8 @@ public class Module : XmppStreamModule { case Affiliation.ADMIN: if (other_affiliation == Affiliation.OWNER) return false; break; + default: + return false; } return true; } catch (InvalidJidError e) { -- cgit v1.2.3-70-g09d2