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
f96ddb27
Commit
f96ddb27
authored
Jan 06, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
parent
f43b5490
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
url.c
dlls/urlmon/tests/url.c
+8
-6
No files found.
dlls/urlmon/tests/url.c
View file @
f96ddb27
...
@@ -466,23 +466,25 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallback *iface, DWOR
...
@@ -466,23 +466,25 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallback *iface, DWOR
CHECK_EXPECT2
(
OnDataAvailable
);
CHECK_EXPECT2
(
OnDataAvailable
);
#if 0 /* Uncomment after removing BindToStorage hack. */
if
(
0
)
{
/* FIXME: Uncomment after removing BindToStorage hack. */
ok
(
pformatetc
!=
NULL
,
"pformatetx == NULL
\n
"
);
ok
(
pformatetc
!=
NULL
,
"pformatetx == NULL
\n
"
);
if
(
pformatetc
)
{
if
(
pformatetc
)
{
ok
(
pformatetc
->
cfFormat
==
0xc02d
,
"clipformat=%x
\n
"
,
pformatetc
->
cfFormat
);
ok
(
pformatetc
->
cfFormat
==
0xc02d
,
"clipformat=%x
\n
"
,
pformatetc
->
cfFormat
);
ok
(
pformatetc
->
ptd
==
NULL
,
"ptd = %p
\n
"
,
pformatetc
->
ptd
);
ok
(
pformatetc
->
ptd
==
NULL
,
"ptd = %p
\n
"
,
pformatetc
->
ptd
);
ok(pformatetc->dwAspect == 1, "dwAspect=%
ld
\n", pformatetc->dwAspect);
ok
(
pformatetc
->
dwAspect
==
1
,
"dwAspect=%
u
\n
"
,
pformatetc
->
dwAspect
);
ok(pformatetc->lindex == -1, "lindex=%
l
d\n", pformatetc->lindex);
ok
(
pformatetc
->
lindex
==
-
1
,
"lindex=%d
\n
"
,
pformatetc
->
lindex
);
ok(pformatetc->tymed == TYMED_ISTREAM, "tymed=%
ld
\n", pformatetc->tymed);
ok
(
pformatetc
->
tymed
==
TYMED_ISTREAM
,
"tymed=%
u
\n
"
,
pformatetc
->
tymed
);
}
}
ok
(
pstgmed
!=
NULL
,
"stgmeg == NULL
\n
"
);
ok
(
pstgmed
!=
NULL
,
"stgmeg == NULL
\n
"
);
if
(
pstgmed
)
{
if
(
pstgmed
)
{
ok(pstgmed->tymed == TYMED_ISTREAM, "tymed=%
ld
\n", pstgmed->tymed);
ok
(
pstgmed
->
tymed
==
TYMED_ISTREAM
,
"tymed=%
u
\n
"
,
pstgmed
->
tymed
);
ok
(
U
(
*
pstgmed
).
pstm
!=
NULL
,
"pstm == NULL
\n
"
);
ok
(
U
(
*
pstgmed
).
pstm
!=
NULL
,
"pstm == NULL
\n
"
);
ok
(
pstgmed
->
pUnkForRelease
!=
NULL
,
"pUnkForRelease == NULL
\n
"
);
ok
(
pstgmed
->
pUnkForRelease
!=
NULL
,
"pUnkForRelease == NULL
\n
"
);
}
}
#endif
}
if
(
U
(
*
pstgmed
).
pstm
)
{
if
(
U
(
*
pstgmed
).
pstm
)
{
do
hres
=
IStream_Read
(
U
(
*
pstgmed
).
pstm
,
buf
,
512
,
&
readed
);
do
hres
=
IStream_Read
(
U
(
*
pstgmed
).
pstm
,
buf
,
512
,
&
readed
);
...
...
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