ACL: remove useless NULL check.

This commit is contained in:
antirez 2019-01-25 13:00:49 +01:00
parent d5fe17dc11
commit 53ba09e08a

View File

@ -600,7 +600,7 @@ int ACLCheckCommandPerm(client *c) {
return ACL_DENIED_KEY;
}
}
if (keyidx) getKeysFreeResult(keyidx);
getKeysFreeResult(keyidx);
}
/* If we survived all the above checks, the user can execute the