diff --git a/src/shared/condition.c b/src/shared/condition.c index da7560f05..796cc520d 100644 --- a/src/shared/condition.c +++ b/src/shared/condition.c @@ -46,7 +46,7 @@ Condition* condition_new(ConditionType type, const char *parameter, bool trigger assert(type >= 0); assert(type < _CONDITION_TYPE_MAX); - assert(!parameter == (type == CONDITION_NULL)); + assert((!parameter) == (type == CONDITION_NULL)); c = new0(Condition, 1); if (!c)