msi: Mark fall-throughs in switch statements.
This commit is contained in:
parent
48a6130279
commit
895b48e9ed
|
@ -1510,6 +1510,7 @@ static void variant_from_registry_value(VARIANT *pVarResult, DWORD dwType, LPBYT
|
|||
while (idx >= 0 && !szString[idx]) idx--;
|
||||
for (; idx >= 0; idx--)
|
||||
if (!szString[idx]) szString[idx] = '\n';
|
||||
/* fall through */
|
||||
case REG_SZ:
|
||||
V_VT(pVarResult) = VT_BSTR;
|
||||
V_BSTR(pVarResult) = SysAllocStringByteLen((LPCSTR)szString, dwSize);
|
||||
|
|
|
@ -658,6 +658,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
|
|||
{
|
||||
case 'l':
|
||||
lstrcpyW(extra, type_notnull);
|
||||
/* fall through */
|
||||
case 'L':
|
||||
lstrcatW(extra, localizable);
|
||||
type = type_char;
|
||||
|
@ -665,12 +666,14 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
|
|||
break;
|
||||
case 's':
|
||||
lstrcpyW(extra, type_notnull);
|
||||
/* fall through */
|
||||
case 'S':
|
||||
type = type_char;
|
||||
sprintfW(size, size_fmt, ptr);
|
||||
break;
|
||||
case 'i':
|
||||
lstrcpyW(extra, type_notnull);
|
||||
/* fall through */
|
||||
case 'I':
|
||||
if (len <= 2)
|
||||
type = type_int;
|
||||
|
@ -685,6 +688,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
|
|||
break;
|
||||
case 'v':
|
||||
lstrcpyW(extra, type_notnull);
|
||||
/* fall through */
|
||||
case 'V':
|
||||
type = type_object;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue