mapi32: Mark some fall-throughs in a switch statement.
This commit is contained in:
parent
ad336be675
commit
203085dcee
|
@ -221,31 +221,39 @@ ULONG WINAPI UlPropSize(LPSPropValue lpProp)
|
||||||
switch (PROP_TYPE(lpProp->ulPropTag))
|
switch (PROP_TYPE(lpProp->ulPropTag))
|
||||||
{
|
{
|
||||||
case PT_MV_I2: ulRet = lpProp->Value.MVi.cValues;
|
case PT_MV_I2: ulRet = lpProp->Value.MVi.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_BOOLEAN:
|
case PT_BOOLEAN:
|
||||||
case PT_I2: ulRet *= sizeof(USHORT);
|
case PT_I2: ulRet *= sizeof(USHORT);
|
||||||
break;
|
break;
|
||||||
case PT_MV_I4: ulRet = lpProp->Value.MVl.cValues;
|
case PT_MV_I4: ulRet = lpProp->Value.MVl.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_ERROR:
|
case PT_ERROR:
|
||||||
case PT_I4: ulRet *= sizeof(LONG);
|
case PT_I4: ulRet *= sizeof(LONG);
|
||||||
break;
|
break;
|
||||||
case PT_MV_I8: ulRet = lpProp->Value.MVli.cValues;
|
case PT_MV_I8: ulRet = lpProp->Value.MVli.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_I8: ulRet *= sizeof(LONG64);
|
case PT_I8: ulRet *= sizeof(LONG64);
|
||||||
break;
|
break;
|
||||||
case PT_MV_R4: ulRet = lpProp->Value.MVflt.cValues;
|
case PT_MV_R4: ulRet = lpProp->Value.MVflt.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_R4: ulRet *= sizeof(float);
|
case PT_R4: ulRet *= sizeof(float);
|
||||||
break;
|
break;
|
||||||
case PT_MV_APPTIME:
|
case PT_MV_APPTIME:
|
||||||
case PT_MV_R8: ulRet = lpProp->Value.MVdbl.cValues;
|
case PT_MV_R8: ulRet = lpProp->Value.MVdbl.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_APPTIME:
|
case PT_APPTIME:
|
||||||
case PT_R8: ulRet *= sizeof(double);
|
case PT_R8: ulRet *= sizeof(double);
|
||||||
break;
|
break;
|
||||||
case PT_MV_CURRENCY: ulRet = lpProp->Value.MVcur.cValues;
|
case PT_MV_CURRENCY: ulRet = lpProp->Value.MVcur.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_CURRENCY: ulRet *= sizeof(CY);
|
case PT_CURRENCY: ulRet *= sizeof(CY);
|
||||||
break;
|
break;
|
||||||
case PT_MV_SYSTIME: ulRet = lpProp->Value.MVft.cValues;
|
case PT_MV_SYSTIME: ulRet = lpProp->Value.MVft.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_SYSTIME: ulRet *= sizeof(FILETIME);
|
case PT_SYSTIME: ulRet *= sizeof(FILETIME);
|
||||||
break;
|
break;
|
||||||
case PT_MV_CLSID: ulRet = lpProp->Value.MVguid.cValues;
|
case PT_MV_CLSID: ulRet = lpProp->Value.MVguid.cValues;
|
||||||
|
/* fall through */
|
||||||
case PT_CLSID: ulRet *= sizeof(GUID);
|
case PT_CLSID: ulRet *= sizeof(GUID);
|
||||||
break;
|
break;
|
||||||
case PT_MV_STRING8: ulRet = 0u;
|
case PT_MV_STRING8: ulRet = 0u;
|
||||||
|
|
Loading…
Reference in New Issue