diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-02 19:50:40 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-02 19:50:40 +0000 |
commit | c2995010be9302fcde0c6160201035537e385526 (patch) | |
tree | 225e0707f4aea0a498db217b095dc8782b3fadcc /converter/pbm | |
parent | d0c2cd000709567bda5486d5e20db604a599c9f5 (diff) | |
download | netpbm-mirror-c2995010be9302fcde0c6160201035537e385526.tar.gz netpbm-mirror-c2995010be9302fcde0c6160201035537e385526.tar.xz netpbm-mirror-c2995010be9302fcde0c6160201035537e385526.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2731 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm')
-rw-r--r-- | converter/pbm/pbmtonokia.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/converter/pbm/pbmtonokia.c b/converter/pbm/pbmtonokia.c index bf3b9e41..e803e413 100644 --- a/converter/pbm/pbmtonokia.c +++ b/converter/pbm/pbmtonokia.c @@ -321,10 +321,8 @@ convertToNol(bit ** const image, /* image */ for (row = 0; row < rows; ++row) { unsigned int col; - unsigned int p; - unsigned int c; - for (p = 0, c = 0, col = 0; col < cols; ++col) { + for (col = 0; col < cols; ++col) { char const output = image[row][col] == PBM_BLACK ? '1' : '0'; putc(output, ofP); @@ -374,10 +372,8 @@ convertToNgg(bit ** const image, for (row = 0; row < rows; ++row) { unsigned int col; - unsigned int p; - unsigned int c; - for (p = 0, c = 0, col = 0; col < cols; ++col) { + for (col = 0; col < cols; ++col) { char const output = image[row][col] == PBM_BLACK ? '1' : '0'; putc(output, ofP); |