mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
more VS2012 L4 warning fixes
This commit is contained in:
parent
502e346eb6
commit
2844ab6912
20 changed files with 30 additions and 8 deletions
|
|
@ -76,6 +76,7 @@ static void pngReadDataFn(png_structp png_ptr,
|
|||
|
||||
Stream *strm = (Stream*)png_get_io_ptr(png_ptr);
|
||||
bool success = strm->read(length, data);
|
||||
TORQUE_UNUSED(success);
|
||||
AssertFatal(success, "pngReadDataFn - failed to read from stream!");
|
||||
}
|
||||
|
||||
|
|
@ -89,6 +90,7 @@ static void pngWriteDataFn(png_structp png_ptr,
|
|||
|
||||
Stream *strm = (Stream*)png_get_io_ptr(png_ptr);
|
||||
bool success = strm->write(length, data);
|
||||
TORQUE_UNUSED(success);
|
||||
AssertFatal(success, "pngWriteDataFn - failed to write to stream!");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue