port-qmi: fix warnings with -Wswitch-default

mm-port-qmi.c: In function ‘port_open_step’:
  mm-port-qmi.c:350:5: error: switch missing default case [-Werror=switch-default]
    350 |     switch (ctx->step) {
        |     ^~~~~~
This commit is contained in:
Aleksander Morgado
2020-01-31 14:52:49 +01:00
parent afc314e596
commit a4b5419287
+3
View File
@@ -590,6 +590,9 @@ port_open_step (GTask *task)
g_task_return_boolean (task, TRUE);
g_object_unref (task);
return;
default:
g_assert_not_reached ();
}
}