Mercurial > octave-nkf
comparison libinterp/dldfcn/__magick_read__.cc @ 19730:c4728e4105b8
Remove duplicate assignment statement in cset c334e4af3a1b.
* __magick_read__.cc: Remove duplicate line "pix[GM_idx] = c;.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 11 Feb 2015 10:58:21 -0800 |
parents | c334e4af3a1b |
children | 4197fc428c7d |
comparison
equal
deleted
inserted
replaced
19729:a4f6fbd1af77 | 19730:c4728e4105b8 |
---|---|
1108 { | 1108 { |
1109 for (octave_idx_type row = 0; row < nRows; row++) | 1109 for (octave_idx_type row = 0; row < nRows; row++) |
1110 { | 1110 { |
1111 const double grey = double (*img_fvec) / divisor; | 1111 const double grey = double (*img_fvec) / divisor; |
1112 Magick::Color c (grey, grey, grey); | 1112 Magick::Color c (grey, grey, grey); |
1113 pix[GM_idx] = c; | |
1114 pix[GM_idx] = c; | 1113 pix[GM_idx] = c; |
1115 img_fvec++; | 1114 img_fvec++; |
1116 GM_idx += nCols; | 1115 GM_idx += nCols; |
1117 } | 1116 } |
1118 GM_idx -= nCols * nRows - 1; | 1117 GM_idx -= nCols * nRows - 1; |