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
53b5e7f3
Commit
53b5e7f3
authored
Jan 27, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Check a return value (clang).
parent
4a7371e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
source.c
dlls/msi/source.c
+6
-0
No files found.
dlls/msi/source.c
View file @
53b5e7f3
...
@@ -1130,6 +1130,12 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid,
...
@@ -1130,6 +1130,12 @@ UINT WINAPI MsiSourceListAddSourceExW( LPCWSTR szProduct, LPCWSTR szUserSid,
RegCloseKey
(
sourcekey
);
RegCloseKey
(
sourcekey
);
return
ERROR_FUNCTION_FAILED
;
return
ERROR_FUNCTION_FAILED
;
}
}
if
(
rc
!=
ERROR_SUCCESS
)
{
ERR
(
"can't open subkey %u
\n
"
,
rc
);
RegCloseKey
(
sourcekey
);
return
rc
;
}
postfix
=
(
dwOptions
&
MSISOURCETYPE_NETWORK
)
?
szBackSlash
:
szForwardSlash
;
postfix
=
(
dwOptions
&
MSISOURCETYPE_NETWORK
)
?
szBackSlash
:
szForwardSlash
;
if
(
szSource
[
lstrlenW
(
szSource
)
-
1
]
==
*
postfix
)
if
(
szSource
[
lstrlenW
(
szSource
)
-
1
]
==
*
postfix
)
...
...
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