Merge pull request #1373 from DimitriPapadopoulos/lgtm
LGTM warning: Comparison result is always the same
This commit is contained in:
commit
172583ab5b
|
@ -1312,7 +1312,7 @@ static OPJ_BOOL opj_pi_check_next_level(OPJ_INT32 pos,
|
||||||
opj_poc_t *tcp = &tcps->pocs[pino];
|
opj_poc_t *tcp = &tcps->pocs[pino];
|
||||||
|
|
||||||
if (pos >= 0) {
|
if (pos >= 0) {
|
||||||
for (i = pos; pos >= 0; i--) {
|
for (i = pos; i >= 0; i--) {
|
||||||
switch (prog[i]) {
|
switch (prog[i]) {
|
||||||
case 'R':
|
case 'R':
|
||||||
if (tcp->res_t == tcp->resE) {
|
if (tcp->res_t == tcp->resE) {
|
||||||
|
|
Loading…
Reference in New Issue