about summary refs log tree commit diff
path: root/converter/pbm
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-02 19:50:40 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-05-02 19:50:40 +0000
commitc2995010be9302fcde0c6160201035537e385526 (patch)
tree225e0707f4aea0a498db217b095dc8782b3fadcc /converter/pbm
parentd0c2cd000709567bda5486d5e20db604a599c9f5 (diff)
downloadnetpbm-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.c8
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);