about summary refs log tree commit diff
path: root/converter/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-01-07 03:44:57 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2017-01-07 03:44:57 +0000
commit1c3a854e18ab4230e2fcbd4ce11aa91324aaa47a (patch)
tree07ae6148d92dd2d00da93051ce89b94df83ff4e9 /converter/other
parent8171385efdbdb870cc7a2fe8a3974c6a0124d1e8 (diff)
downloadnetpbm-mirror-1c3a854e18ab4230e2fcbd4ce11aa91324aaa47a.tar.gz
netpbm-mirror-1c3a854e18ab4230e2fcbd4ce11aa91324aaa47a.tar.xz
netpbm-mirror-1c3a854e18ab4230e2fcbd4ce11aa91324aaa47a.zip
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
Diffstat (limited to 'converter/other')
-rw-r--r--converter/other/bmptopnm.c2
1 files changed, 0 insertions, 2 deletions
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.
     */