Fix cppcheck warning
(cherry picked from commit aaa4d390fdefc4e8071b80edc90a580907c9dec3)
This commit is contained in:
@@ -317,12 +317,12 @@ void s1ap_eNB_handle_sctp_association_resp(instance_t instance, sctp_new_associa
|
||||
|
||||
if( itti_send_msg_to_task(TASK_RRC_ENB, ue_p->eNB_instance->instance, message_p) < 0 )
|
||||
{
|
||||
S1AP_ERROR("UE Context Release Command Transmission Failure: eNB_ue_s1ap_id=%d\n", ue_p->eNB_ue_s1ap_id);
|
||||
S1AP_ERROR("UE Context Release Command Transmission Failure: eNB_ue_s1ap_id=%u\n", ue_p->eNB_ue_s1ap_id);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
S1AP_ERROR("Invalid message_p : eNB_ue_s1ap_id=%d\n", ue_p->eNB_ue_s1ap_id);
|
||||
S1AP_ERROR("Invalid message_p : eNB_ue_s1ap_id=%u\n", ue_p->eNB_ue_s1ap_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,11 +82,11 @@ int s1ap_timer_timeout(sigval_t info)
|
||||
|
||||
if( pthread_mutex_unlock(&timer_desc.timer_list_mutex) != 0 )
|
||||
{
|
||||
S1AP_ERROR("Failed to mutex unlock timeout=%x\n", timer_kind);
|
||||
S1AP_ERROR("Failed to mutex unlock timeout=0x%x\n", timer_kind);
|
||||
}
|
||||
if (timer_p == NULL)
|
||||
{
|
||||
S1AP_ERROR("Didn't find timer 0x%lx in list\n", timer_kind);
|
||||
S1AP_ERROR("Didn't find timer 0x%x in list\n", timer_kind);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user