sierra: fix warnings with -Wswitch-default

This commit is contained in:
Aleksander Morgado
2020-01-30 18:24:00 +01:00
parent 8d2fbc8429
commit e71819fcfe
2 changed files with 9 additions and 4 deletions

View File

@@ -434,6 +434,9 @@ dial_3gpp_context_step (GTask *task)
g_object_unref); g_object_unref);
g_object_unref (task); g_object_unref (task);
return; return;
default:
g_assert_not_reached ();
} }
} }

View File

@@ -1446,9 +1446,10 @@ cdma_automatic_activation_step (GTask *task)
g_task_return_boolean (task, TRUE); g_task_return_boolean (task, TRUE);
g_object_unref (task); g_object_unref (task);
return; return;
}
default:
g_assert_not_reached (); g_assert_not_reached ();
}
} }
static void static void
@@ -1601,9 +1602,10 @@ cdma_manual_activation_step (GTask *task)
g_task_return_boolean (task, TRUE); g_task_return_boolean (task, TRUE);
g_object_unref (task); g_object_unref (task);
return; return;
}
default:
g_assert_not_reached (); g_assert_not_reached ();
}
} }
static void static void