Fix some warnings
This commit is contained in:
parent
f521719737
commit
db6a989677
|
@ -596,6 +596,8 @@ static liHandlerResult li_condition_check_eval_bool(liVRequest *vr, liCondition
|
|||
case LI_COND_VALUE_HINT_SOCKADDR:
|
||||
val = TRUE; /* just.. don't do this. */
|
||||
break;
|
||||
default:
|
||||
return LI_HANDLER_ERROR;
|
||||
}
|
||||
|
||||
*res = !cond->rvalue.b ^ val;
|
||||
|
|
|
@ -2024,6 +2024,9 @@ static void plugin_core_prepare_worker(liServer *srv, liPlugin *p, liWorker *wrk
|
|||
ERROR(srv, "couldn't set cpu affinity mask for worker #%u: %s", wrk->ndx, g_strerror(errno));
|
||||
}
|
||||
}
|
||||
#else
|
||||
UNUSED(srv);
|
||||
UNUSED(wrk);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue