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

wjp wjp at usecode.org
Fri May 26 19:34:36 CEST 2017


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:
d9807b0fca SCI32: Fix warning


Commit: d9807b0fca2fa8e139407ec91bb0e242e01ba82d
    https://github.com/scummvm/scummvm/commit/d9807b0fca2fa8e139407ec91bb0e242e01ba82d
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2017-05-26T19:33:59+02:00

Commit Message:
SCI32: Fix warning

Changed paths:
    engines/sci/graphics/celobj32.h


diff --git a/engines/sci/graphics/celobj32.h b/engines/sci/graphics/celobj32.h
index 598a062..d519134 100644
--- a/engines/sci/graphics/celobj32.h
+++ b/engines/sci/graphics/celobj32.h
@@ -134,6 +134,8 @@ struct CelInfo32 {
 			return Common::String::format("color %d", color);
 		case kCelTypeMem:
 			return Common::String::format("mem %04x:%04x", PRINT_REG(bitmap));
+		default:
+			assert(!"Should never happen");
 		}
 	}
 };





More information about the Scummvm-git-logs mailing list