@@ -1412,7 +1412,6 @@ opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,
14121412 /* pointers */
14131413 opj_pi_iterator_t * l_pi = 00 ;
14141414 opj_tcp_t * l_tcp = 00 ;
1415- const opj_tccp_t * l_tccp = 00 ;
14161415 opj_pi_comp_t * l_current_comp = 00 ;
14171416 opj_image_comp_t * l_img_comp = 00 ;
14181417 opj_pi_iterator_t * l_current_pi = 00 ;
@@ -1490,7 +1489,6 @@ opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,
14901489 /* special treatment for the first packet iterator */
14911490 l_current_comp = l_current_pi -> comps ;
14921491 l_img_comp = p_image -> comps ;
1493- l_tccp = l_tcp -> tccps ;
14941492
14951493 l_current_pi -> tx0 = l_tx0 ;
14961494 l_current_pi -> ty0 = l_ty0 ;
@@ -1524,14 +1522,12 @@ opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,
15241522 }
15251523 ++ l_current_comp ;
15261524 ++ l_img_comp ;
1527- ++ l_tccp ;
15281525 }
15291526 ++ l_current_pi ;
15301527
15311528 for (pino = 1 ; pino < l_bound ; ++ pino ) {
15321529 l_current_comp = l_current_pi -> comps ;
15331530 l_img_comp = p_image -> comps ;
1534- l_tccp = l_tcp -> tccps ;
15351531
15361532 l_current_pi -> tx0 = l_tx0 ;
15371533 l_current_pi -> ty0 = l_ty0 ;
@@ -1563,7 +1559,6 @@ opj_pi_iterator_t *opj_pi_create_decode(opj_image_t *p_image,
15631559 }
15641560 ++ l_current_comp ;
15651561 ++ l_img_comp ;
1566- ++ l_tccp ;
15671562 }
15681563 /* special treatment*/
15691564 l_current_pi -> include = (l_current_pi - 1 )-> include ;
@@ -1635,7 +1630,6 @@ opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *p_image,
16351630 /* pointers*/
16361631 opj_pi_iterator_t * l_pi = 00 ;
16371632 opj_tcp_t * l_tcp = 00 ;
1638- const opj_tccp_t * l_tccp = 00 ;
16391633 opj_pi_comp_t * l_current_comp = 00 ;
16401634 opj_image_comp_t * l_img_comp = 00 ;
16411635 opj_pi_iterator_t * l_current_pi = 00 ;
@@ -1710,7 +1704,6 @@ opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *p_image,
17101704 /* special treatment for the first packet iterator*/
17111705 l_current_comp = l_current_pi -> comps ;
17121706 l_img_comp = p_image -> comps ;
1713- l_tccp = l_tcp -> tccps ;
17141707 l_current_pi -> tx0 = l_tx0 ;
17151708 l_current_pi -> ty0 = l_ty0 ;
17161709 l_current_pi -> tx1 = l_tx1 ;
@@ -1741,14 +1734,12 @@ opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *p_image,
17411734
17421735 ++ l_current_comp ;
17431736 ++ l_img_comp ;
1744- ++ l_tccp ;
17451737 }
17461738 ++ l_current_pi ;
17471739
17481740 for (pino = 1 ; pino < l_bound ; ++ pino ) {
17491741 l_current_comp = l_current_pi -> comps ;
17501742 l_img_comp = p_image -> comps ;
1751- l_tccp = l_tcp -> tccps ;
17521743
17531744 l_current_pi -> tx0 = l_tx0 ;
17541745 l_current_pi -> ty0 = l_ty0 ;
@@ -1778,7 +1769,6 @@ opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *p_image,
17781769 }
17791770 ++ l_current_comp ;
17801771 ++ l_img_comp ;
1781- ++ l_tccp ;
17821772 }
17831773
17841774 /* special treatment*/
0 commit comments