From: Michael Orlitzky Date: Tue, 11 Dec 2018 21:13:31 +0000 (-0500) Subject: src/libadacl.c: fix a clang-tidy warning by adding a redundant check. X-Git-Tag: v0.4.2~1 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=c16c09587fb3c8de6f9cab77e3c855dd0a81938d;hp=c16c09587fb3c8de6f9cab77e3c855dd0a81938d;p=apply-default-acl.git src/libadacl.c: fix a clang-tidy warning by adding a redundant check. The clang-tidy program is complaining about a potential null pointer dereference where none is possible. To convince it of that fact, I've added a redundant equality check: we have a case where (a == b) and (a == c), and I've added (b == c) explicitly. This fixes the warning, and should have very little performance impact, so everyone is happy. ---