Use (std) bool instead of custom bool types
OAI is riddled with boolean_t, FALSE, TRUE, etc. This makes no sense, as there is a standard bool type, and could lead to nasty bugs if a definition of a bool is non-standard (0 == false, true == !false). This commit removes all non-standard bools in the whole project.
This commit is contained in:
@@ -638,7 +638,7 @@ dlsch_scheduler_pre_processor(module_id_t Mod_id,
|
||||
LOG_E(MAC, "UE %d has RNTI NOT_A_RNTI!\n", UE_id);
|
||||
continue;
|
||||
}
|
||||
if (UE_info->active[UE_id] != TRUE) {
|
||||
if (UE_info->active[UE_id] != true) {
|
||||
LOG_E(MAC, "UE %d RNTI %x is NOT active!\n", UE_id, rnti);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user