diff options
Diffstat (limited to 'cli/mmcli-common.c')
-rw-r--r-- | cli/mmcli-common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c index 1c63d849..10a1fb75 100644 --- a/cli/mmcli-common.c +++ b/cli/mmcli-common.c @@ -1551,10 +1551,9 @@ mmcli_get_state_reason_string (MMModemStateChangeReason reason) return "Suspend"; case MM_MODEM_STATE_CHANGE_REASON_FAILURE: return "Failure"; + default: + g_assert_not_reached (); } - - g_warn_if_reached (); - return NULL; } /* Common options */ |