From 1c3a854e18ab4230e2fcbd4ce11aa91324aaa47a Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 7 Jan 2017 03:44:57 +0000 Subject: Remove pointless, possiby wrong assertion from a few minutes ago git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2871 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/other/bmptopnm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'converter/other') diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c index d8518a73..13a5fb8d 100644 --- a/converter/other/bmptopnm.c +++ b/converter/other/bmptopnm.c @@ -942,8 +942,6 @@ allocBmpRaster(unsigned int const rows, unsigned int row; unsigned char * startOfRows; - assert(UINT_MAX/rows > (bytesPerRow + sizeof(unsigned char *))); - /* The raster array consists of an array of pointers to the rows followed by the rows of bytes, in a single allocated chunk of storage. */ -- cgit 1.4.1