mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Fix gcc clobbered warning
This commit is contained in:
committed by
Mathew Sutcliffe
parent
ec416c8028
commit
3f686ec017
@@ -872,10 +872,10 @@ int CreateBitmapFromPNG(const char * inFilePath, struct ImageInfo * outImageInf
|
||||
png_structp pngPtr = NULL;
|
||||
png_infop infoPtr = NULL;
|
||||
unsigned char * volatile buffer = NULL;
|
||||
FILE * file = NULL;
|
||||
FILE * volatile file = NULL;
|
||||
size_t fileLength = 0;
|
||||
outImageInfo->data = NULL;
|
||||
char** rows = NULL;
|
||||
char** volatile rows = NULL;
|
||||
double lcl_gamma; // This will be the gamma of the file if it has one.
|
||||
#if APL // Macs and PCs have different gamma responses.
|
||||
double screen_gamma=1.8; // Darks look darker and brights brighter on the PC.
|
||||
|
||||
Reference in New Issue
Block a user