mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
Remove unnecessary semicolon from CRITICAL_ASSERT()
This fixes off-by-default "empty statement" compiler warnings.
This commit is contained in:
parent
0072e5e0f3
commit
b2c8cbf992
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ void kassert_panic(const char *fmt, ...) __printflike(1, 2);
|
|||
* Assert that a thread is in critical(9) section.
|
||||
*/
|
||||
#define CRITICAL_ASSERT(td) \
|
||||
KASSERT((td)->td_critnest >= 1, ("Not in critical section"));
|
||||
KASSERT((td)->td_critnest >= 1, ("Not in critical section"))
|
||||
|
||||
/*
|
||||
* If we have already panic'd and this is the thread that called
|
||||
|
|
|
|||
Loading…
Reference in a new issue