summaryrefslogtreecommitdiffstats
path: root/src/pacman/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/output.c')
-rw-r--r--src/pacman/output.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pacman/output.c b/src/pacman/output.c
index 36f0aa65..4c970b2e 100644
--- a/src/pacman/output.c
+++ b/src/pacman/output.c
@@ -62,9 +62,6 @@ int yesno(char *fmt, ...)
strtrim(response);
}
- /* User hits 'enter', forcing a newline here */
- neednl = 0;
-
if(!strcasecmp(response, _("Y")) || !strcasecmp(response, _("YES")) || strlen(response) == 0) {
return(1);
}