Remove redundant test (raised by cppcheck)

This commit is contained in:
Even Rouault 2017-09-19 18:34:49 +02:00
parent ce8edf9bff
commit 82ab7effe3
1 changed files with 1 additions and 1 deletions

View File

@ -8551,7 +8551,7 @@ static OPJ_BOOL opj_j2k_need_nb_tile_parts_correction(opj_stream_private_t
break;
}
if ((l_tot_len == 0U) || (l_tot_len < 14U)) {
if (l_tot_len < 14U) {
/* last SOT until EOC or invalid Psot value */
/* assume all is OK */
if (! opj_stream_seek(p_stream, l_stream_pos_backup, p_manager)) {