diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-03-02 13:51:46 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-03-08 14:04:10 -0600 |
commit | fbab8325a9e15add0efd70dbb2f3e5537f615bf5 (patch) | |
tree | 7ff923bd08ef3f2bf9b51a485a98251f253d60f9 | |
parent | 55ba229d228d1b7372256978828c573dd0af56d4 (diff) |
main_help.c: Unchecked return value from library (CID #1437650)
CID 1437650: Unchecked return value from library in rtems_shell_help().
Closes #4291
-rw-r--r-- | cpukit/libmisc/shell/main_help.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_help.c b/cpukit/libmisc/shell/main_help.c index 611f2e0a62..9f59e9df4b 100644 --- a/cpukit/libmisc/shell/main_help.c +++ b/cpukit/libmisc/shell/main_help.c @@ -119,7 +119,8 @@ static int rtems_shell_help( rtems_shell_cmd_t *shell_cmd; if (lines && (line > lines)) { - printf("Press any key to continue...");getchar(); + printf("Press any key to continue..."); + (void) getchar(); /* we only want to know a character was pressed */ printf("\n"); line = 0; } |