Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
895b48e9
Commit
895b48e9
authored
Oct 06, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Mark fall-throughs in switch statements.
parent
48a61302
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
automation.c
dlls/msi/automation.c
+1
-0
database.c
dlls/msi/database.c
+4
-0
No files found.
dlls/msi/automation.c
View file @
895b48e9
...
@@ -1510,6 +1510,7 @@ static void variant_from_registry_value(VARIANT *pVarResult, DWORD dwType, LPBYT
...
@@ -1510,6 +1510,7 @@ static void variant_from_registry_value(VARIANT *pVarResult, DWORD dwType, LPBYT
while
(
idx
>=
0
&&
!
szString
[
idx
])
idx
--
;
while
(
idx
>=
0
&&
!
szString
[
idx
])
idx
--
;
for
(;
idx
>=
0
;
idx
--
)
for
(;
idx
>=
0
;
idx
--
)
if
(
!
szString
[
idx
])
szString
[
idx
]
=
'\n'
;
if
(
!
szString
[
idx
])
szString
[
idx
]
=
'\n'
;
/* fall through */
case
REG_SZ
:
case
REG_SZ
:
V_VT
(
pVarResult
)
=
VT_BSTR
;
V_VT
(
pVarResult
)
=
VT_BSTR
;
V_BSTR
(
pVarResult
)
=
SysAllocStringByteLen
((
LPCSTR
)
szString
,
dwSize
);
V_BSTR
(
pVarResult
)
=
SysAllocStringByteLen
((
LPCSTR
)
szString
,
dwSize
);
...
...
dlls/msi/database.c
View file @
895b48e9
...
@@ -658,6 +658,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
...
@@ -658,6 +658,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
{
{
case
'l'
:
case
'l'
:
lstrcpyW
(
extra
,
type_notnull
);
lstrcpyW
(
extra
,
type_notnull
);
/* fall through */
case
'L'
:
case
'L'
:
lstrcatW
(
extra
,
localizable
);
lstrcatW
(
extra
,
localizable
);
type
=
type_char
;
type
=
type_char
;
...
@@ -665,12 +666,14 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
...
@@ -665,12 +666,14 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
break
;
break
;
case
's'
:
case
's'
:
lstrcpyW
(
extra
,
type_notnull
);
lstrcpyW
(
extra
,
type_notnull
);
/* fall through */
case
'S'
:
case
'S'
:
type
=
type_char
;
type
=
type_char
;
sprintfW
(
size
,
size_fmt
,
ptr
);
sprintfW
(
size
,
size_fmt
,
ptr
);
break
;
break
;
case
'i'
:
case
'i'
:
lstrcpyW
(
extra
,
type_notnull
);
lstrcpyW
(
extra
,
type_notnull
);
/* fall through */
case
'I'
:
case
'I'
:
if
(
len
<=
2
)
if
(
len
<=
2
)
type
=
type_int
;
type
=
type_int
;
...
@@ -685,6 +688,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
...
@@ -685,6 +688,7 @@ static LPWSTR msi_build_createsql_columns(LPWSTR *columns_data, LPWSTR *types, D
break
;
break
;
case
'v'
:
case
'v'
:
lstrcpyW
(
extra
,
type_notnull
);
lstrcpyW
(
extra
,
type_notnull
);
/* fall through */
case
'V'
:
case
'V'
:
type
=
type_object
;
type
=
type_object
;
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment