From e3bd6749869f3f1649662b39609bbea8d2141354 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 7 Jun 2015 19:39:06 +0000 Subject: Remove uneeded code (already done by pw_make_v7) --- pw/pw_user.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'pw') diff --git a/pw/pw_user.c b/pw/pw_user.c index 6b3a266..99d8129 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -1143,9 +1143,6 @@ print_user(struct passwd * pwd) if (!conf.pretty) { char *buf; - if (!conf.v7) - pwd->pw_passwd = (pwd->pw_passwd == NULL) ? "" : "*"; - buf = conf.v7 ? pw_make_v7(pwd) : pw_make(pwd); printf("%s\n", buf); free(buf); -- cgit v1.2.3-56-ge451