Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -465,9 +465,9 @@ int wxGIFDecoder::dgif(GIFImage *img, int interl, int bits)
|
||||
while (code != ab_fin);
|
||||
|
||||
#ifdef __WXMAC__
|
||||
delete [] ab_prefix ;
|
||||
delete [] ab_tail ;
|
||||
delete [] stack ;
|
||||
delete [] ab_prefix ;
|
||||
delete [] ab_tail ;
|
||||
delete [] stack ;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@@ -504,7 +504,8 @@ int wxGIFDecoder::ReadGIF()
|
||||
unsigned char type = 0;
|
||||
unsigned char pal[768];
|
||||
unsigned char buf[16];
|
||||
GIFImage **ppimg, *pimg, *pprev;
|
||||
GIFImage **ppimg;
|
||||
GIFImage *pimg, *pprev;
|
||||
|
||||
/* check GIF signature */
|
||||
if (!CanRead())
|
||||
|
||||
Reference in New Issue
Block a user