Comment dead code (Coverity CID 94681)

This commit is contained in:
Even Rouault 2017-09-21 14:14:32 +02:00
parent 39082fc665
commit 113e0976e2
1 changed files with 2 additions and 0 deletions

View File

@ -4668,9 +4668,11 @@ static OPJ_BOOL opj_j2k_write_sod(opj_j2k_t *p_j2k,
if (p_j2k->m_specific_param.m_encoder.m_current_tile_part_number == 0) { if (p_j2k->m_specific_param.m_encoder.m_current_tile_part_number == 0) {
p_tile_coder->tcd_image->tiles->packno = 0; p_tile_coder->tcd_image->tiles->packno = 0;
#ifdef deadcode
if (l_cstr_info) { if (l_cstr_info) {
l_cstr_info->packno = 0; l_cstr_info->packno = 0;
} }
#endif
} }
*p_data_written = 0; *p_data_written = 0;