mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-10 07:50:06 -04:00
Silence warning on Release build
This commit is contained in:
parent
d5b557706a
commit
9d2097cdea
@ -192,6 +192,7 @@ Sint64 RWops::Size() {
|
|||||||
Sint64 old_pos = Tell();
|
Sint64 old_pos = Tell();
|
||||||
Sint64 size = Seek(0, SEEK_END);
|
Sint64 size = Seek(0, SEEK_END);
|
||||||
Sint64 back_pos = Seek(old_pos, SEEK_SET);
|
Sint64 back_pos = Seek(old_pos, SEEK_SET);
|
||||||
|
(void)back_pos; // silence unused variable warning on release build
|
||||||
assert(back_pos == old_pos);
|
assert(back_pos == old_pos);
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user