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

digitall dgturner at iee.org
Sat Aug 3 15:32:25 CEST 2019


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:
d638c1d384 GUI: Fix GCC Compiler Warning in Cloud Tab


Commit: d638c1d384cca8b1cf0d1678c6c4f27f8c98334e
    https://github.com/scummvm/scummvm/commit/d638c1d384cca8b1cf0d1678c6c4f27f8c98334e
Author: D G Turner (digitall at scummvm.org)
Date: 2019-08-03T14:27:57+01:00

Commit Message:
GUI: Fix GCC Compiler Warning in Cloud Tab

This comment for fall through to prevent the compiler warning about
this has to be at the point of fallthrough i.e. outside the grouping
brackets to be effective.

Changed paths:
    gui/options.cpp


diff --git a/gui/options.cpp b/gui/options.cpp
index f05699e..b3f1817 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2262,8 +2262,8 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
 		_redrawCloudTab = true;
 
 		// also, automatically start saves sync when user enables the storage
-		// fall through
 	}
+	// fall through
 	case kSyncSavesStorageCmd: {
 		CloudMan.syncSaves(
 			new Common::Callback<GlobalOptionsDialog, Cloud::Storage::BoolResponse>(this, &GlobalOptionsDialog::storageSavesSyncedCallback)





More information about the Scummvm-git-logs mailing list