summaryrefslogtreecommitdiff
path: root/nis/nss_compat/compat-spwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/nss_compat/compat-spwd.c')
-rw-r--r--nis/nss_compat/compat-spwd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
index c33d5aa339..5da19d3feb 100644
--- a/nis/nss_compat/compat-spwd.c
+++ b/nis/nss_compat/compat-spwd.c
@@ -30,10 +30,6 @@
#include <rpcsvc/nis.h>
#include <nsswitch.h>
-/* Comment out the following line for the production version. */
-/* #define NDEBUG 1 */
-#include <assert.h>
-
#include "netgroup.h"
#include "nss-nisplus.h"
#include "nisplus-parser.h"
@@ -179,10 +175,6 @@ internal_setspent (ent_t *ent)
key, sizeof (key) - 1),
local_dir, len_local_dir + 1)
- pwdtable) - 1;
-
- /* *Maybe* (I'm no NIS expert) we have to duplicate the `local_dir'
- value since it might change during our work. So add a test here. */
- assert (pwdtablelen == sizeof (key) + len_local_dir);
}
ent->blacklist.current = 0;