diff --git a/src/kauth/kalocalcell.c b/src/kauth/kalocalcell.c index c28cb4abad..7c2f4994c5 100644 --- a/src/kauth/kalocalcell.c +++ b/src/kauth/kalocalcell.c @@ -114,8 +114,6 @@ ka_CellToRealm(char *cell, char *realm, int *local) { int code = 0; - opr_Assert(realm != NULL); - LOCK_GLOBAL_MUTEX; code = ka_ExpandCell(cell, realm, local); ucstring(realm, realm, MAXKTCREALMLEN); diff --git a/src/opr/casestrcpy.c b/src/opr/casestrcpy.c index 37f5c4cabc..8cfe37d993 100644 --- a/src/opr/casestrcpy.c +++ b/src/opr/casestrcpy.c @@ -23,7 +23,6 @@ lcstring(char *d, const char *s, int n) char *original_d = d; char c; - opr_Assert(s != NULL && d != NULL); while (n) { c = *s++; if (isupper(c)) @@ -43,7 +42,6 @@ ucstring(char *d, const char *s, int n) char *original_d = d; char c; - opr_Assert(s != NULL && d != NULL); while (n) { c = *s++; if (islower(c)) @@ -95,7 +93,6 @@ strcompose(char *buf, size_t len, ...) char *str; size_t slen; - opr_Assert(buf != NULL); if (len <= 0) return NULL;