From: malaterre Date: Wed, 8 Jun 2005 17:26:22 +0000 (+0000) Subject: COMP: enter_run was set but never used... X-Git-Tag: Version1.2.bp~560 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=bafef697d715abeb88e39db9eb1d3f9249d969ad;p=gdcm.git COMP: enter_run was set but never used... --- diff --git a/src/gdcmjpegls/Decoder/lossless_d.c b/src/gdcmjpegls/Decoder/lossless_d.c index ec16cec9..a130cb3a 100644 --- a/src/gdcmjpegls/Decoder/lossless_d.c +++ b/src/gdcmjpegls/Decoder/lossless_d.c @@ -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 */