forked from Imagelibrary/rtems
main_help.c: Unchecked return value from library (CID #1437650)
CID 1437650: Unchecked return value from library in rtems_shell_help(). Closes #4291
This commit is contained in:
@@ -119,7 +119,8 @@ static int rtems_shell_help(
|
|||||||
rtems_shell_cmd_t *shell_cmd;
|
rtems_shell_cmd_t *shell_cmd;
|
||||||
|
|
||||||
if (lines && (line > lines)) {
|
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");
|
printf("\n");
|
||||||
line = 0;
|
line = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user