iface-modem-messaging: fix warnings with -Wswitch-default
mm-iface-modem-messaging.c: In function ‘interface_disabling_step’: mm-iface-modem-messaging.c:612:5: error: switch missing default case [-Werror=switch-default] 612 | switch (ctx->step) { | ^~~~~~ ...
This commit is contained in:
@@ -650,6 +650,9 @@ interface_disabling_step (GTask *task)
|
||||
g_task_return_boolean (task, TRUE);
|
||||
g_object_unref (task);
|
||||
return;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
@@ -1043,6 +1046,9 @@ interface_enabling_step (GTask *task)
|
||||
g_task_return_boolean (task, TRUE);
|
||||
g_object_unref (task);
|
||||
return;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
@@ -1367,6 +1373,9 @@ interface_initialization_step (GTask *task)
|
||||
g_task_return_boolean (task, TRUE);
|
||||
g_object_unref (task);
|
||||
return;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
g_assert_not_reached ();
|
||||
|
Reference in New Issue
Block a user