Fix some sizeof and switch-case errors reported by CodeChecker

CodeChecker is a python application that collects reports from static analyzers like
clang-tidy, clangsa, cppcheck.
This commit is contained in:
Bartosz Podrygajlo
2024-10-07 09:35:24 +02:00
parent d8a6c5c9d5
commit 01066a3f0d
10 changed files with 14 additions and 19 deletions
+1 -1
View File
@@ -1662,7 +1662,7 @@ void extract_BEARER_CONTEXT_RELEASE_COMMAND(const E1AP_E1AP_PDU_t *pdu, e1ap_bea
if ((ie->value.choice.Cause.present != E1AP_Cause_PR_NOTHING) &&
(ie->value.choice.Cause.present != E1AP_Cause_PR_choice_extension))
bearerCxt->cause = ie->value.choice.Cause.choice.radioNetwork;
break;
default:
LOG_E(E1AP, "Handle for this IE is not implemented (or) invalid IE detected\n");