diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-03 01:16:28 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2016-05-03 01:16:28 +0000 |
commit | bc58a5dc27f75970115d6e464442bf8e3fef45eb (patch) | |
tree | 7a3f3c54fc9ceeaf1ea44169eb1220cefa684102 /converter/other | |
parent | 0f11c3e6cadf0f6cc827f6e50baba8095bc5a107 (diff) | |
download | netpbm-mirror-bc58a5dc27f75970115d6e464442bf8e3fef45eb.tar.gz netpbm-mirror-bc58a5dc27f75970115d6e464442bf8e3fef45eb.tar.xz netpbm-mirror-bc58a5dc27f75970115d6e464442bf8e3fef45eb.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2740 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other')
-rw-r--r-- | converter/other/pnmtoddif.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/converter/other/pnmtoddif.c b/converter/other/pnmtoddif.c index ae8c8524..ac02e425 100644 --- a/converter/other/pnmtoddif.c +++ b/converter/other/pnmtoddif.c @@ -538,15 +538,12 @@ convertRaster(FILE * const ifP, unsigned int const bytesPerLine) { unsigned char * data; - unsigned char * p; MALLOCARRAY(data, bytesPerLine); if (data == NULL) pm_error("Couldn't allocate %u-byte line buffer", bytesPerLine); - p = data; /* initial value */ - switch (PNM_FORMAT_TYPE(format)) { case PBM_TYPE: convertPbmRaster(ifP, format, cols, rows, ofP, bytesPerLine, data); |