From 359be6bce782b43e1a04a4cad06c49c61193aa79 Mon Sep 17 00:00:00 2001 From: "git@daemon.de" Date: Thu, 15 Oct 2015 13:13:03 +0200 Subject: [PATCH] rm stdin=NULL, catched in main() anyway --- libpcp/readpass.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libpcp/readpass.c b/libpcp/readpass.c index 65430b3..d830c0f 100644 --- a/libpcp/readpass.c +++ b/libpcp/readpass.c @@ -140,10 +140,6 @@ retry: if (readfrom != stdin) { fclose(readfrom); } - else { - if(readfromfile != NULL) - stdin = NULL; - } /* Copy the password out. */ char *p = smalloc(strlen(passbuf) + 1);