huawei,helpers: fix warnings with -Wimplicit-fallthrough

huawei/mm-modem-helpers-huawei.c: In function ‘parse_mode_combination_string’:
  huawei/mm-modem-helpers-huawei.c:991:20: error: this statement may fall through [-Werror=implicit-fallthrough=]
    991 |         *preferred = MM_MODEM_MODE_NONE;
        |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
  huawei/mm-modem-helpers-huawei.c:993:5: note: here
    993 |     default:
        |     ^~~~~~~
This commit is contained in:
Aleksander Morgado
2020-01-31 14:52:49 +01:00
parent dcce64a116
commit 71afc23261
+1 -1
View File
@@ -989,7 +989,7 @@ parse_mode_combination_string (const gchar *mode_str,
case 1:
/* If only one mode allowed, NONE preferred */
*preferred = MM_MODEM_MODE_NONE;
/* fall down */
/* fall through */
default:
return TRUE;
}