Fix warning in lib/krb5/test_acl.c

This commit is contained in:
Nicolas Williams
2018-12-28 12:02:00 -06:00
committed by Jeffrey Altman
parent 752c3a6139
commit 7d5f955b51

View File

@@ -37,7 +37,7 @@
do { if (r != e) krb5_errx(c, 1, "%s", s); } while (0)
#define STRINGMATCH(c, s, _s1, _s2) \
do { \
if (_s1 == NULL || _s2 == NULL) \
if (_s1 == NULL) \
krb5_errx(c, 1, "s1 or s2 is NULL"); \
if (strcmp(_s1,_s2) != 0) \
krb5_errx(c, 1, "%s", s); \