summaryrefslogtreecommitdiffstats
path: root/src/intrfn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-11-01 12:19:53 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-11-01 12:19:53 +0100
commit9440623c9768c7e235be10ed595149fdb644a911 (patch)
tree324a9b9530d9895305ed278a41d37e8c2b138b46 /src/intrfn.c
parente4ed9d6e9d7335281a956d07b49aca4fcd978ba6 (diff)
code style: ignore some function return value
Diffstat (limited to 'src/intrfn.c')
-rw-r--r--src/intrfn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intrfn.c b/src/intrfn.c
index 0947b14..9fc96b0 100644
--- a/src/intrfn.c
+++ b/src/intrfn.c
@@ -1078,7 +1078,7 @@ int start_ncurses(const char *prog_name, const char *real_prog_name)
log_critical("initscr() has failed. Exiting\n");
printf("initscr() has failed. Exiting\n");
printf("Press Enter key to quit.\n");
- getchar();
+ (void)getchar();
return 1;
}
#else
@@ -1126,7 +1126,7 @@ int start_ncurses(const char *prog_name, const char *real_prog_name)
#endif
printf("Extract all files and subdirectories before running the program.\n");
printf("Press Enter key to quit.\n");
- getchar();
+ (void)getchar();
free(terminfo);
return 1;
}