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

Yep, Coverity knows those won't do anything.

parent b9b55737
No related branches found
No related tags found
No related merge requests found
......@@ -1061,13 +1061,9 @@ int zmodem_recv_hex(zmodem_t* zm)
n1 = zmodem_recv_nibble(zm);
if (n1 < 0)
return n1;
if (n1 > 15)
return -1;
n0 = zmodem_recv_nibble(zm);
if(n0 < 0)
return n0;
if (n1 > 15)
return -1;
ret = (n1 << 4) | n0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment