Remove unnecessary semicolon from CRITICAL_ASSERT()
This fixes off-by-default "empty statement" compiler warnings.
This commit is contained in:
parent
0072e5e0f3
commit
b2c8cbf992
@ -193,7 +193,7 @@ void kassert_panic(const char *fmt, ...) __printflike(1, 2);
|
|||||||
* Assert that a thread is in critical(9) section.
|
* Assert that a thread is in critical(9) section.
|
||||||
*/
|
*/
|
||||||
#define CRITICAL_ASSERT(td) \
|
#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
|
* If we have already panic'd and this is the thread that called
|
||||||
|
Loading…
Reference in New Issue
Block a user