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
0e4ccb82
Commit
0e4ccb82
authored
Jun 23, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix use of uninitialized variable (Coverity).
parent
7a845509
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
action.c
dlls/msi/action.c
+2
-2
No files found.
dlls/msi/action.c
View file @
0e4ccb82
...
@@ -4648,7 +4648,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
...
@@ -4648,7 +4648,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
LPWSTR
deformatted
,
ptr
;
LPWSTR
deformatted
,
ptr
;
DWORD
flags
,
type
,
size
;
DWORD
flags
,
type
,
size
;
LONG
res
;
LONG
res
;
HKEY
env
,
root
=
HKEY_CURRENT_USER
;
HKEY
env
=
NULL
,
root
=
HKEY_CURRENT_USER
;
static
const
WCHAR
environment
[]
=
static
const
WCHAR
environment
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'\\'
,
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
'\\'
,
...
@@ -4759,7 +4759,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
...
@@ -4759,7 +4759,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
res
=
RegSetValueExW
(
env
,
name
,
0
,
type
,
(
LPVOID
)
newval
,
size
);
res
=
RegSetValueExW
(
env
,
name
,
0
,
type
,
(
LPVOID
)
newval
,
size
);
done:
done:
RegCloseKey
(
env
);
if
(
env
)
RegCloseKey
(
env
);
msi_free
(
deformatted
);
msi_free
(
deformatted
);
msi_free
(
data
);
msi_free
(
data
);
msi_free
(
newval
);
msi_free
(
newval
);
...
...
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