]> Creatis software - gdcm.git/blobdiff - src/gdcmopenjpeg/libopenjpeg/j2k.c
BUG: Yet another shoot yourself in the foot
[gdcm.git] / src / gdcmopenjpeg / libopenjpeg / j2k.c
index d0c4fd87b05c1d4e67944e40a609df2ce2d8f59d..09868ca63351a65c582f9928a0de478f1b8cb051 100644 (file)
@@ -247,9 +247,6 @@ void j2k_read_siz()
     j2k_img->comps[i].sgnd = tmp >> 7;
     j2k_img->comps[i].dx = cio_read(1);   /* XRsiz_i         */
     j2k_img->comps[i].dy = cio_read(1);   /* YRsiz_i         */
-    /* ===>                                                  */
-    /* ===> FIXME : local variables w and h are never used   */
-    /* ===>                                                  */    
     w = int_ceildiv(j2k_img->x1 - j2k_img->x0, j2k_img->comps[i].dx);
     h = int_ceildiv(j2k_img->y1 - j2k_img->y0, j2k_img->comps[i].dy);
     j2k_img->comps[i].resno_decoded = 0;   /* number of resolution decoded */