mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-12 08:51:41 +00:00
replaced UNUSED and assert combination by a fixed up assert macro - thanks luis! :)
This commit is contained in:
parent
2844ab6912
commit
489106ae5e
19 changed files with 3 additions and 26 deletions
|
|
@ -76,7 +76,6 @@ 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!");
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +89,6 @@ 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