Fix warning in lib/krb5/test_acl.c
This commit is contained in:

committed by
Jeffrey Altman

parent
752c3a6139
commit
7d5f955b51
@@ -37,7 +37,7 @@
|
|||||||
do { if (r != e) krb5_errx(c, 1, "%s", s); } while (0)
|
do { if (r != e) krb5_errx(c, 1, "%s", s); } while (0)
|
||||||
#define STRINGMATCH(c, s, _s1, _s2) \
|
#define STRINGMATCH(c, s, _s1, _s2) \
|
||||||
do { \
|
do { \
|
||||||
if (_s1 == NULL || _s2 == NULL) \
|
if (_s1 == NULL) \
|
||||||
krb5_errx(c, 1, "s1 or s2 is NULL"); \
|
krb5_errx(c, 1, "s1 or s2 is NULL"); \
|
||||||
if (strcmp(_s1,_s2) != 0) \
|
if (strcmp(_s1,_s2) != 0) \
|
||||||
krb5_errx(c, 1, "%s", s); \
|
krb5_errx(c, 1, "%s", s); \
|
||||||
|
Reference in New Issue
Block a user