aboutsummaryrefslogtreecommitdiff
path: root/libqcdm
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-11-20 15:49:53 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-01-30 11:59:14 +0100
commit9bc5d742dc6d13f6363393d68328d21210e5fa48 (patch)
treee396ca1dc24bd6e1a900b269c8b2d4a1a8d4f146 /libqcdm
parentcf211c01e9f0c1ce18b154b1457e9afabffe4921 (diff)
libqcdm,commands: fix warnings with -Wswitch-default
commands.c: In function ‘nv_mode_pref_from_qcdm’: commands.c:109:5: warning: switch missing default case [-Wswitch-default] 109 | switch (qcdm) { | ^~~~~~
Diffstat (limited to 'libqcdm')
-rw-r--r--libqcdm/src/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libqcdm/src/commands.c b/libqcdm/src/commands.c
index 1e46cc61..54f5883f 100644
--- a/libqcdm/src/commands.c
+++ b/libqcdm/src/commands.c
@@ -135,6 +135,8 @@ nv_mode_pref_from_qcdm (uint8_t qcdm)
return DIAG_NV_MODE_PREF_GSM_UMTS_LTE_ONLY;
case QCDM_CMD_NV_MODE_PREF_ITEM_MODE_PREF_1X_HDR_LTE_ONLY:
return DIAG_NV_MODE_PREF_1X_HDR_LTE_ONLY;
+ default:
+ break;
}
return DIAG_NV_MODE_PREF_AUTO;
};