Commit 29354854 authored by Richard Gobeille's avatar Richard Gobeille

Mapster32: fix compilation warning in release builds

parent 5ac27a96
......@@ -536,6 +536,7 @@ int32_t map_undoredo(int dir)
{
// restore sector[]
auto bytes = LZ4_decompress_safe(mapstate->lz4Blocks[UNDO_SECTORS]+4, (char*)sector, mapstate->lz4Size[UNDO_SECTORS], MAXSECTORS*sizeof(sectortype));
UNREFERENCED_PARAMETER(bytes);
Bassert(bytes > 0);
if (mapstate->num[UNDO_WALLS]) // restore wall[]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment