Skip to content
Snippets Groups Projects
Commit 2f6eaf22 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Attempt to silence silly Coverity warning.

parent 28c334b3
Branches
Tags
1 merge request!455Update branch with changes from master
Pipeline #6310 passed
...@@ -1225,8 +1225,10 @@ transfer_complete(bool success, bool was_binary) ...@@ -1225,8 +1225,10 @@ transfer_complete(bool success, bool was_binary)
lprintf(LOG_NOTICE, "Hit any key or wait %u seconds to continue...", timeout); lprintf(LOG_NOTICE, "Hit any key or wait %u seconds to continue...", timeout);
while (timeout > 0) { while (timeout > 0) {
if (kbhit()) { if (kbhit()) {
if ((getch() == (CIO_KEY_QUIT & 0xff)) && ((getch() << 8) == (CIO_KEY_QUIT & 0xff00))) if (getch() == (CIO_KEY_QUIT & 0xff)) {
check_exit(false); if ((getch() << 8) == (CIO_KEY_QUIT & 0xff00))
check_exit(false);
}
break; break;
} }
timeout--; timeout--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment