mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Fixed MinGW warning emitted when optimizations are enabled.
This commit is contained in:
@@ -871,7 +871,7 @@ int CreateBitmapFromPNG(const char * inFilePath, struct ImageInfo * outImageInf
|
|||||||
|
|
||||||
png_structp pngPtr = NULL;
|
png_structp pngPtr = NULL;
|
||||||
png_infop infoPtr = NULL;
|
png_infop infoPtr = NULL;
|
||||||
unsigned char * buffer = NULL;
|
unsigned char * volatile buffer = NULL;
|
||||||
FILE * file = NULL;
|
FILE * file = NULL;
|
||||||
size_t fileLength = 0;
|
size_t fileLength = 0;
|
||||||
outImageInfo->data = NULL;
|
outImageInfo->data = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user