79567: mapi32: Mark some fall-throughs in a switch statement
buildbot at kegel.com
buildbot at kegel.com
Tue Oct 4 18:04:09 CDT 2011
This is an experimental automated build and test service.
Please feel free to ignore this email while we work the kinks out.
For more info about this message, see http://wiki.winehq.org/BuildBot
The Buildbot has detected a failed build on builder runtests-default while building Wine.
Full details are available at: http://buildbot.kegel.com/builders/runtests-default/builds/87 (though maybe not for long, as I'm still reinstalling the buildbot periodically while experimenting)
BUILD FAILED: failed git
Errors:
error: patch failed: dlls/mapi32/prop.c:221
error: dlls/mapi32/prop.c: patch does not apply
-------------- next part --------------
From: Andrew Talbot <andrew.talbot at talbotville.com>
Subject: mapi32: Mark some fall-throughs in a switch statement
Message-Id: <201110042248.34020.andrew.talbot at talbotville.com>
Date: Tue, 4 Oct 2011 22:48:33 +0100
Changelog:
mapi32: Mark some fall-throughs in a switch statement.
diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c
index 75c1b1e..5173412 100644
--- a/dlls/mapi32/prop.c
+++ b/dlls/mapi32/prop.c
@@ -221,31 +221,39 @@ ULONG WINAPI UlPropSize(LPSPropValue lpProp)
switch (PROP_TYPE(lpProp->ulPropTag))
{
case PT_MV_I2: ulRet = lpProp->Value.MVi.cValues;
+ /* fall through */
case PT_BOOLEAN:
case PT_I2: ulRet *= sizeof(USHORT);
break;
case PT_MV_I4: ulRet = lpProp->Value.MVl.cValues;
+ /* fall through */
case PT_ERROR:
case PT_I4: ulRet *= sizeof(LONG);
break;
case PT_MV_I8: ulRet = lpProp->Value.MVli.cValues;
+ /* fall through */
case PT_I8: ulRet *= sizeof(LONG64);
break;
case PT_MV_R4: ulRet = lpProp->Value.MVflt.cValues;
+ /* fall through */
case PT_R4: ulRet *= sizeof(float);
break;
case PT_MV_APPTIME:
case PT_MV_R8: ulRet = lpProp->Value.MVdbl.cValues;
+ /* fall through */
case PT_APPTIME:
case PT_R8: ulRet *= sizeof(double);
break;
case PT_MV_CURRENCY: ulRet = lpProp->Value.MVcur.cValues;
+ /* fall through */
case PT_CURRENCY: ulRet *= sizeof(CY);
break;
case PT_MV_SYSTIME: ulRet = lpProp->Value.MVft.cValues;
+ /* fall through */
case PT_SYSTIME: ulRet *= sizeof(FILETIME);
break;
case PT_MV_CLSID: ulRet = lpProp->Value.MVguid.cValues;
+ /* fall through */
case PT_CLSID: ulRet *= sizeof(GUID);
break;
case PT_MV_STRING8: ulRet = 0u;
More information about the wine-tests-results
mailing list