]> Creatis software - gdcm.git/commitdiff
COMP: enter_run was set but never used...
authormalaterre <malaterre>
Wed, 8 Jun 2005 17:26:22 +0000 (17:26 +0000)
committermalaterre <malaterre>
Wed, 8 Jun 2005 17:26:22 +0000 (17:26 +0000)
src/gdcmjpegls/Decoder/lossless_d.c

index ec16cec9fe010e144a384fa0af30128973e8c86d..a130cb3a1f997a1064999e7abd2a73486ab9b83c 100644 (file)
@@ -541,7 +541,7 @@ int lossless_undoscanline_pixel(pixel *psl,    /* previous scanline */
 /*** watch it! actual pixels in the scan line are numbered 1 to no .
      pixels with indices < 1 or > no are dummy "border" pixels  */
 {
-  int i, n_c, color, enter_run=0, was_in_run = 0,
+  int i, n_c, color, was_in_run = 0,
       test_run;
   pixel Ra, Rb, Rc, Rd;
   pixel c_aa[MAX_COMPONENTS],
@@ -593,7 +593,7 @@ int lossless_undoscanline_pixel(pixel *psl,    /* previous scanline */
       Rd=c_dd[color];
       cont=c_cont[color];
 
-      enter_run = was_in_run = test_run = 0;
+      was_in_run = test_run = 0;
     
       if (color == 0) {
         test_run = 1;
@@ -610,7 +610,7 @@ int lossless_undoscanline_pixel(pixel *psl,    /* previous scanline */
 
         register int n, m;
 
-        enter_run = was_in_run = 1;
+        was_in_run = 1;
 
         /* get length of the run */
         /* arg is # of pixels left */
@@ -742,7 +742,7 @@ int lossless_undoscanline_pixel(pixel *psl,    /* previous scanline */
       Rd=c_dd[color];
       cont=c_cont[color];
 
-      enter_run = was_in_run = test_run = 0;
+      was_in_run = test_run = 0;
     
       if (color == 0) {
         test_run = 1;
@@ -759,7 +759,7 @@ int lossless_undoscanline_pixel(pixel *psl,    /* previous scanline */
 
         register int n, m;
 
-        enter_run = was_in_run = 1;
+        was_in_run = 1;
 
         /* get length of the run */
         /* arg is # of pixels left */