]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/, src/: Remove superfluous #include <assert.h>
authorAlejandro Colomar <alx@kernel.org>
Fri, 13 Mar 2026 16:01:21 +0000 (17:01 +0100)
committerSerge Hallyn <serge@hallyn.com>
Mon, 16 Mar 2026 03:46:43 +0000 (22:46 -0500)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/cleanup_group.c
lib/cleanup_user.c
lib/loginprompt.c
lib/mail.c
lib/prefix_flag.c
lib/root_flag.c
lib/setupenv.c
src/userdel.c

index 4235c1cd3ebe6383eb0e510b4180eb2066271005..130052879d49da8578eb8755ad7f79be331b335a 100644 (file)
@@ -15,9 +15,6 @@
 #include "prototypes.h"
 #include "shadowlog.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 /*
  * cleanup_report_add_group - Report failure to add a group to the system
index 940d8a087bbf1cd032563c2058402581665acd66..3f1a46cfb3fe23ceaa5f8e61bb041b4bdc93bd27 100644 (file)
@@ -14,9 +14,6 @@
 #include "prototypes.h"
 #include "shadowlog.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 /*
  * cleanup_report_add_user - Report failure to add a user to the system
index 0b496ca8cb8fd8c31d7f50203b866e4754255768..ab519582a81087fcbc9faccfdf3bd7a49af3ac1f 100644 (file)
@@ -22,9 +22,6 @@
 #include "string/strspn/stpspn.h"
 #include "string/strtok/stpsep.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 static void
 login_exit(MAYBE_UNUSED int _1)
index a33fd36dbc175cace5195499ce0a19a64d52106f..b48cee1cb9e6e56ff7915e7e7307254c465916cf 100644 (file)
@@ -18,9 +18,6 @@
 #include "getdef.h"
 #include "string/sprintf/aprintf.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 void mailcheck (void)
 {
index da3ce01b8c62877dfac0473ee6669e444b5b1c11..7496805e9a8ec8b479ce6fee94d6b680c9e03b76 100644 (file)
@@ -32,9 +32,6 @@
 #include "string/strcmp/strprefix.h"
 #include "string/strerrno.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 static char *passwd_db_file = NULL;
 static char *spw_db_file = NULL;
index 1649ad1071831fbdb31f516ecb1a88c943d84ee3..38ef0b4cdc1a77a43869e89874407760063e7c58 100644 (file)
@@ -20,9 +20,6 @@
 #include "string/strcmp/strprefix.h"
 #include "string/strerrno.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 static void change_root (const char* newroot);
 
index 81cca2ac2348e47d5208afdfed6ef0edb107a7c5..8017741be5e13a48fb4939e3fc90821ce465a1ca 100644 (file)
@@ -31,9 +31,6 @@
 #include "string/strspn/stpspn.h"
 #include "string/strtok/stpsep.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 #ifndef USE_PAM
 static void
index c1629e8fc9e13c17b46f9a4875523c23ed11eff0..9b7d81bedd9703567b639246801e2d8534709c46 100644 (file)
@@ -53,9 +53,6 @@
 #include "string/strdup/strdup.h"
 #include "string/strerrno.h"
 
-#undef NDEBUG
-#include <assert.h>
-
 
 /*
  * exit status values