contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits
fixes #52 http://bugzilla.maptools.org/show_bug.cgi?id=2469
This commit is contained in:
parent
dce4bb0da5
commit
70b8c095f8
@ -106,6 +106,8 @@ HDIB LoadTIFFinDIB(LPSTR lpFileName)
|
|||||||
|
|
||||||
if (lpDIB)
|
if (lpDIB)
|
||||||
lpBits = FindDIBBits((LPSTR) lpDIB);
|
lpBits = FindDIBBits((LPSTR) lpDIB);
|
||||||
|
else
|
||||||
|
lpBits = NULL;
|
||||||
|
|
||||||
//In the tiff file the lines are save from up to down
|
//In the tiff file the lines are save from up to down
|
||||||
//In a DIB the lines must be save from down to up
|
//In a DIB the lines must be save from down to up
|
||||||
|
Loading…
Reference in New Issue
Block a user