[Scummvm-cvs-logs] scummvm master -> f13143ef7db6ca572652f8febb062f348b314175

lordhoto lordhoto at gmail.com
Thu Jun 9 19:15:44 CEST 2011


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:
f13143ef7d KYRA: Add a default case to a switch statement.


Commit: f13143ef7db6ca572652f8febb062f348b314175
    https://github.com/scummvm/scummvm/commit/f13143ef7db6ca572652f8febb062f348b314175
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-06-09T10:13:30-07:00

Commit Message:
KYRA: Add a default case to a switch statement.

This includes a TODO, about what to do if we ever hit this case.

Changed paths:
    engines/kyra/gui_lol.cpp



diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index 80eacb3..fb11040 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -2816,6 +2816,9 @@ int GUI_LoL::clickedOptionsMenu(Button *button) {
 		_vm->_landsFile = _vm->resource()->fileData(filename.c_str(), 0);
 		_newMenu = _lastMenu;
 		} break;
+	default:
+		// TODO: Is there anything we should do if we hit this case?
+		break;
 	}
 
 	return 1;






More information about the Scummvm-git-logs mailing list