[Scummvm-git-logs] scummvm master -> 2c4de514a5aa5422d57a731872643da8d4eafefe

sev- sev at scummvm.org
Fri Aug 7 07:45:49 UTC 2020


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:
2c4de514a5 GRAPHICS: MACGUI: Remove unused variable


Commit: 2c4de514a5aa5422d57a731872643da8d4eafefe
    https://github.com/scummvm/scummvm/commit/2c4de514a5aa5422d57a731872643da8d4eafefe
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-08-07T09:45:26+02:00

Commit Message:
GRAPHICS: MACGUI: Remove unused variable

Changed paths:
    graphics/macgui/macwindow.cpp


diff --git a/graphics/macgui/macwindow.cpp b/graphics/macgui/macwindow.cpp
index 21b9d67324..2b5e3217fc 100644
--- a/graphics/macgui/macwindow.cpp
+++ b/graphics/macgui/macwindow.cpp
@@ -194,7 +194,6 @@ void MacWindow::center(bool toCenter) {
 		return;
 
 	Common::Rect screen = _wm->_screen->getBounds();
-	Common::Rect d = getDimensions();
 
 	if (toCenter) {
 		move((screen.width() - _dims.width()) / 2, (screen.height() - _dims.height()) / 2);
@@ -648,7 +647,7 @@ void MacWindow::setBorderType(int borderType) {
 		disableBorder();
 	} else {
 		BorderOffsets offsets = _wm->getBorderOffsets(borderType);
-	
+
 		Common::SeekableReadStream *activeFile = _wm->getBorderFile(borderType, true);
 		if (activeFile) {
 			loadBorder(*activeFile, true, offsets);




More information about the Scummvm-git-logs mailing list