]> gitweb.michael.orlitzky.com - apply-default-acl.git/commitdiff
src/libadacl.c: fix a clang-tidy warning by adding a redundant check.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 11 Dec 2018 21:13:31 +0000 (16:13 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 11 Dec 2018 21:20:23 +0000 (16:20 -0500)
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.


No differences found