Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bf1e9a2e
Commit
bf1e9a2e
authored
May 08, 2010
by
Marcus Meissner
Committed by
Alexandre Julliard
May 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fixed 2 uninitialized variable use (Coverity).
parent
43576202
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
storage32.c
dlls/ole32/storage32.c
+6
-4
No files found.
dlls/ole32/storage32.c
View file @
bf1e9a2e
...
...
@@ -4096,9 +4096,11 @@ static HRESULT StorageBaseImpl_CopyStream(
if
(
SUCCEEDED
(
hr
))
hr
=
StorageBaseImpl_StreamWriteAt
(
dst
,
dst_entry
,
bytes_copied
,
bytestocopy
,
data
,
&
byteswritten
);
if
(
SUCCEEDED
(
hr
)
&&
byteswritten
!=
bytestocopy
)
hr
=
STG_E_WRITEFAULT
;
bytes_copied
.
QuadPart
+=
byteswritten
;
if
(
SUCCEEDED
(
hr
))
{
if
(
byteswritten
!=
bytestocopy
)
hr
=
STG_E_WRITEFAULT
;
bytes_copied
.
QuadPart
+=
byteswritten
;
}
}
}
...
...
@@ -4370,7 +4372,7 @@ static HRESULT TransactedSnapshotImpl_CopyTree(TransactedSnapshotImpl* This)
{
DirRef
cursor
;
TransactedDirEntry
*
entry
;
HRESULT
hr
;
HRESULT
hr
=
S_OK
;
cursor
=
This
->
base
.
storageDirEntry
;
entry
=
&
This
->
entries
[
cursor
];
...
...
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