mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove unnecessary semicolon from CRITICAL_ASSERT()
This fixes off-by-default "empty statement" compiler warnings.
(cherry picked from commit b2c8cbf992)
This commit is contained in:
parent
4159566e56
commit
ff6dded021
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