mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:25:56 +00:00
Driver: Use assert(), not NT_ASSERT()
This commit is contained in:
parent
aafba35944
commit
af85039a83
@ -173,7 +173,7 @@ inline static void fort_packet_fill_in_interface_indexes(
|
||||
*subInterfaceField = FWPS_FIELD_INBOUND_TRANSPORT_V6_SUB_INTERFACE_INDEX;
|
||||
break;
|
||||
default:
|
||||
NT_ASSERT(0);
|
||||
assert(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -307,7 +307,7 @@ static PFORT_PSNAME fort_pstree_add_service_name(PFORT_PSTREE ps_tree, PCFORT_PS
|
||||
|
||||
static void fort_pstree_proc_set_name(PFORT_PSNODE proc, PFORT_PSNAME ps_name)
|
||||
{
|
||||
NT_ASSERT(proc->ps_name == NULL);
|
||||
assert(proc->ps_name == NULL);
|
||||
|
||||
proc->ps_name = ps_name;
|
||||
|
||||
|
@ -58,7 +58,7 @@ static void fort_worker_wait(PFORT_WORKER worker)
|
||||
|
||||
FORT_API void fort_worker_func_set(PFORT_WORKER worker, UCHAR work_id, FORT_WORKER_FUNC worker_func)
|
||||
{
|
||||
NT_ASSERT(work_id >= 0 && work_id < FORT_WORKER_FUNC_COUNT);
|
||||
assert(work_id >= 0 && work_id < FORT_WORKER_FUNC_COUNT);
|
||||
|
||||
worker->funcs[work_id] = worker_func;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user