kobj: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
a90b85dd5a
commit
b2835fa22a
@ -156,7 +156,7 @@ kobj_class_compile1(kobj_class_t cls, int mflags)
|
||||
void
|
||||
kobj_class_compile(kobj_class_t cls)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = kobj_class_compile1(cls, M_WAITOK);
|
||||
KASSERT(error == 0, ("kobj_class_compile1 returned %d", error));
|
||||
|
Loading…
x
Reference in New Issue
Block a user