[Scummvm-git-logs] scummvm master -> 45b491ac97d62f79ef2a3a31324f033640de5cb2
digitall
noreply at scummvm.org
Sat Dec 17 04:55:45 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
45b491ac97 ULTIMA8: Fix Unused Variable GCC Compiler Warning
Commit: 45b491ac97d62f79ef2a3a31324f033640de5cb2
https://github.com/scummvm/scummvm/commit/45b491ac97d62f79ef2a3a31324f033640de5cb2
Author: D G Turner (digitall at scummvm.org)
Date: 2022-12-17T04:55:09Z
Commit Message:
ULTIMA8: Fix Unused Variable GCC Compiler Warning
Changed paths:
engines/ultima/ultima8/graphics/soft_render_surface.inl
diff --git a/engines/ultima/ultima8/graphics/soft_render_surface.inl b/engines/ultima/ultima8/graphics/soft_render_surface.inl
index 472806a6cbd..d8426670268 100644
--- a/engines/ultima/ultima8/graphics/soft_render_surface.inl
+++ b/engines/ultima/ultima8/graphics/soft_render_surface.inl
@@ -170,7 +170,9 @@ const int32 neg = (FLIP_CONDITIONAL)?-1:0;
if (s->getPalette() == 0)
return;
+#ifdef XFORM_SHAPES
const Graphics::PixelFormat &format = _surface->format;
+#endif
const ShapeFrame *frame = s->getFrame(framenum);
if (!frame)
return;
More information about the Scummvm-git-logs
mailing list