mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
remove pointless check in QImageData::create()
upstream commits:
1394962ceb
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
50eceb7229
commit
9aa06d45d9
1 changed files with 0 additions and 1 deletions
|
@ -813,7 +813,6 @@ QImageData *QImageData::create(uchar *data, int width, int height, int bpl, QIm
|
|||
|| INT_MAX/sizeof(uchar *) < uint(height)
|
||||
|| INT_MAX/uint(depth) < uint(width)
|
||||
|| bpl <= 0
|
||||
|| height <= 0
|
||||
|| bpl < min_bytes_per_line
|
||||
|| INT_MAX/uint(bpl) < uint(height))
|
||||
return d; // invalid parameter(s)
|
||||
|
|
Loading…
Add table
Reference in a new issue