[Scummvm-git-logs] scummvm master -> f1791c39e5647fb3f31db0a5fde927136561c9c8

digitall noreply at scummvm.org
Sun Apr 23 17:50:12 UTC 2023


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:
f1791c39e5 VCRUISE: Fix Set But Unused Variable GCC Compiler Warnings


Commit: f1791c39e5647fb3f31db0a5fde927136561c9c8
    https://github.com/scummvm/scummvm/commit/f1791c39e5647fb3f31db0a5fde927136561c9c8
Author: D G Turner (digitall at scummvm.org)
Date: 2023-04-23T18:49:47+01:00

Commit Message:
VCRUISE: Fix Set But Unused Variable GCC Compiler Warnings

Changed paths:
    engines/vcruise/menu.cpp


diff --git a/engines/vcruise/menu.cpp b/engines/vcruise/menu.cpp
index f4da9ec2374..3268fc93739 100644
--- a/engines/vcruise/menu.cpp
+++ b/engines/vcruise/menu.cpp
@@ -811,8 +811,10 @@ void ReahMainMenuPage::start() {
 
 	Graphics::Surface *buttonGraphic = _menuInterface->getUIGraphic(1);
 
-	Common::Point buttonStateOffset = Common::Point(112, 0);
-	Common::Point buttonTopLeft = Common::Point(492, 66);
+	// FIXME: Unused
+	//Common::Point buttonStateOffset = Common::Point(112, 0);
+	//ommon::Point buttonTopLeft = Common::Point(492, 66);
+
 	const int buttonTopYs[6] = {66, 119, 171, 224, 277, 330};
 
 	for (int i = 0; i < 6; i++) {




More information about the Scummvm-git-logs mailing list