core,plugin-manager: fix warnings with -Wswitch-default

mm-plugin-manager.c: In function ‘plugin_supports_port_ready’:
  mm-plugin-manager.c:480:5: warning: switch missing default case [-Wswitch-default]
    480 |     switch (support_result) {
        |     ^~~~~~
This commit is contained in:
Aleksander Morgado
2020-01-30 11:59:14 +01:00
parent b087549c7d
commit 645f8e10ea
+2
View File
@@ -495,6 +495,8 @@ plugin_supports_port_ready (MMPlugin *plugin,
case MM_PLUGIN_SUPPORTS_PORT_DEFER_UNTIL_SUGGESTED:
port_context_defer_until_suggested (port_context, plugin);
break;
default:
g_assert_not_reached ();
}
/* We received a full reference, to make sure the context was always