diff options
Diffstat (limited to 'converter/other/pnmtoddif.c')
-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); |