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

Yep, Coverity knows those won't do anything.

parent ecd56a2f
No related branches found
No related tags found
1 merge request!488Overhaul LZH code
Pipeline #7580 passed
......@@ -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