cardos: Avoid always-true condition
Comparison is always true because offset >= 1. Thanks lgtm
This commit is contained in:
parent
15b1e93b51
commit
e429fe03c5
|
@ -381,8 +381,7 @@ get_next_part:
|
|||
q = sc_asn1_find_tag(card->ctx, p, tlen, 0x8a, &ilen);
|
||||
if (q != NULL && ilen == 1) {
|
||||
offset = (u8)ilen;
|
||||
if (offset != 0)
|
||||
goto get_next_part;
|
||||
goto get_next_part;
|
||||
}
|
||||
len -= tlen + 2;
|
||||
p += tlen;
|
||||
|
|
Loading…
Reference in New Issue