aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getpass.c b/src/getpass.c
index a5fa3575b..6db1e8477 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -203,7 +203,7 @@ char *getpass_r(const char *prompt, /* prompt to display */
if(disabled) {
/* if echo actually was disabled, add a newline */
fputs("\n", stderr);
- ttyecho(TRUE, fd); /* enable echo */
+ (void)ttyecho(TRUE, fd); /* enable echo */
}
if(1 != fd)