summaryrefslogtreecommitdiffstats
path: root/src/sudo.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/sudo.c
parente4ed9d6e9d7335281a956d07b49aca4fcd978ba6 (diff)
code style: ignore some function return value
Diffstat (limited to 'src/sudo.c')
-rw-r--r--src/sudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sudo.c b/src/sudo.c
index 26941f7..5f346ba 100644
--- a/src/sudo.c
+++ b/src/sudo.c
@@ -56,7 +56,7 @@ void run_sudo(int argc, char **argv)
{
printf("%s failed: %s\n", SUDO_BIN, strerror(errno));
printf("Press Enter key to quit.\n");
- getchar();
+ (void)getchar();
}
free(argv2[0]);
free(argv2);