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
139ebf64
Commit
139ebf64
authored
Jan 19, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 19, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Remove unused assignments (PVS-Studio).
parent
c2da97a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
storage32.c
dlls/ole32/tests/storage32.c
+1
-1
usrmarshal.c
dlls/ole32/tests/usrmarshal.c
+0
-3
No files found.
dlls/ole32/tests/storage32.c
View file @
139ebf64
...
...
@@ -1048,7 +1048,7 @@ static void test_streamenum(void)
r
=
IStorage_CreateStream
(
stg
,
stmname
,
STGM_SHARE_EXCLUSIVE
|
STGM_READWRITE
,
0
,
0
,
&
stm
);
ok
(
r
==
S_OK
,
"IStorage->CreateStream failed
\n
"
);
r
=
IStream_Release
(
stm
);
IStream_Release
(
stm
);
/* first enum ... should be 1 stream */
r
=
IStorage_EnumElements
(
stg
,
0
,
NULL
,
0
,
&
ee
);
...
...
dlls/ole32/tests/usrmarshal.c
View file @
139ebf64
...
...
@@ -275,7 +275,6 @@ static void test_marshal_HENHMETAFILE(void)
ok
(
*
(
DWORD
*
)
wirehemf
==
(
size
-
0x10
),
"wirestgm + 0xc should be size - 0x10 instead of 0x%08x
\n
"
,
*
(
DWORD
*
)
wirehemf
);
wirehemf
+=
sizeof
(
DWORD
);
ok
(
*
(
DWORD
*
)
wirehemf
==
EMR_HEADER
,
"wirestgm + 0x10 should be EMR_HEADER instead of %d
\n
"
,
*
(
DWORD
*
)
wirehemf
);
wirehemf
+=
sizeof
(
DWORD
);
/* ... rest of data not tested - refer to tests for GetEnhMetaFileBits
* at this point */
...
...
@@ -300,7 +299,6 @@ static void test_marshal_HENHMETAFILE(void)
ok
(
*
(
DWORD
*
)
wirehemf
==
WDT_REMOTE_CALL
,
"wirestgm + 0x0 should be WDT_REMOTE_CALL instead of 0x%08x
\n
"
,
*
(
DWORD
*
)
wirehemf
);
wirehemf
+=
sizeof
(
DWORD
);
ok
(
*
(
DWORD
*
)
wirehemf
==
(
DWORD
)(
DWORD_PTR
)
hemf
,
"wirestgm + 0x4 should be hemf instead of 0x%08x
\n
"
,
*
(
DWORD
*
)
wirehemf
);
wirehemf
+=
sizeof
(
DWORD
);
init_user_marshal_cb
(
&
umcb
,
&
stub_msg
,
&
rpc_msg
,
buffer
,
size
,
MSHCTX_DIFFERENTMACHINE
);
HENHMETAFILE_UserUnmarshal
(
&
umcb
.
Flags
,
buffer
,
&
hemf2
);
...
...
@@ -436,7 +434,6 @@ static void test_marshal_HMETAFILEPICT(void)
ok
(
*
(
DWORD
*
)
wirehmfp
==
(
buffer_end
-
buffer
-
0x28
),
"wirestgm + 0x24 should be size - 0x34 instead of 0x%08x
\n
"
,
*
(
DWORD
*
)
wirehmfp
);
wirehmfp
+=
sizeof
(
DWORD
);
ok
(
*
(
WORD
*
)
wirehmfp
==
1
,
"wirehmfp + 0x28 should be 1 instead of 0x%08x
\n
"
,
*
(
DWORD
*
)
wirehmfp
);
wirehmfp
+=
sizeof
(
DWORD
);
/* ... rest of data not tested - refer to tests for GetMetaFileBits
* at this point */
...
...
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