dxx-rebirth/similar
Kp 8a16296eb4 Fix -Wunused-variable warning in PNG screenshot code
Global `Viewer` was copied to local `viewer`, and the local should have
been used in this block.  Instead, the global was incorrectly used.
gcc-5 warns for this unused variable.  gcc-6 and gcc-7 incorrectly do
not warn.

Reported-by: Jayman2000 <https://github.com/dxx-rebirth/dxx-rebirth/issues/375>
Fixes: 131c1b9f4d ("Add support for PNG screenshots")
2018-04-15 19:43:38 +00:00
..
2d Remove build_colormap_good parameter used 2018-03-08 04:21:18 +00:00
3d Use constexpr integral_constant for various magic numbers 2017-10-14 17:10:30 +00:00
arch Make SDL-only SDL_Surface pointers static 2018-03-02 03:19:02 +00:00
editor Pass vertex factory to compute_center_point_on_side 2018-03-12 03:43:47 +00:00
main Fix -Wunused-variable warning in PNG screenshot code 2018-04-15 19:43:38 +00:00
misc Replace useless printf with puts 2017-12-05 05:29:55 +00:00