From 10c47ef2af59dfba47633520faa9302af90a9ae7 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 26 Jan 2010 15:56:35 +0000 Subject: *** empty log message *** --- src/libtiff/tif_dumpmode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libtiff/tif_dumpmode.c') diff --git a/src/libtiff/tif_dumpmode.c b/src/libtiff/tif_dumpmode.c index c93763a..ade189d 100644 --- a/src/libtiff/tif_dumpmode.c +++ b/src/libtiff/tif_dumpmode.c @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/imtoolkit/im/src/libtiff/tif_dumpmode.c,v 1.3 2009/12/11 15:17:41 scuri Exp $ */ +/* $Header: /cvsroot/imtoolkit/im/src/libtiff/tif_dumpmode.c,v 1.4 2010/01/26 15:56:36 scuri Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -45,7 +45,7 @@ DumpModeEncode(TIFF* tif, tidata_t pp, tsize_t cc, tsample_t s) if (tif->tif_rawcc + n > tif->tif_rawdatasize) n = tif->tif_rawdatasize - tif->tif_rawcc; - assert( n > 0 ); + assert( n > 0 ); /* * Avoid copy if client has setup raw @@ -71,8 +71,6 @@ static int DumpModeDecode(TIFF* tif, tidata_t buf, tsize_t cc, tsample_t s) { (void) s; -/* fprintf(stderr,"DumpModeDecode: scanline %ld, expected %ld bytes, got %ld bytes\n", */ -/* (long) tif->tif_row, (long) tif->tif_rawcc, (long) cc); */ if (tif->tif_rawcc < cc) { TIFFErrorExt(tif->tif_clientdata, tif->tif_name, "DumpModeDecode: Not enough data for scanline %d", -- cgit v1.2.3