summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibC/pwd.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Libraries/LibC/pwd.cpp b/Userland/Libraries/LibC/pwd.cpp
index 6b47b3d6f9..b13e4b3db7 100644
--- a/Userland/Libraries/LibC/pwd.cpp
+++ b/Userland/Libraries/LibC/pwd.cpp
@@ -46,14 +46,6 @@ void endpwent()
fclose(s_stream);
s_stream = nullptr;
}
-
- memset(&s_passwd_entry, 0, sizeof(s_passwd_entry));
-
- s_name = {};
- s_passwd = {};
- s_gecos = {};
- s_dir = {};
- s_shell = {};
}
struct passwd* getpwuid(uid_t uid)