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
9d9ce298
Commit
9d9ce298
authored
Dec 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Avoid some uninitialized variable warnings on old gcc.
parent
e5917001
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
30 deletions
+12
-30
msxml_private.h
dlls/msxml3/msxml_private.h
+12
-30
No files found.
dlls/msxml3/msxml_private.h
View file @
9d9ce298
...
@@ -384,46 +384,28 @@ extern HRESULT XMLDocument_create( IUnknown *pUnkOuter, void **pObj );
...
@@ -384,46 +384,28 @@ extern HRESULT XMLDocument_create( IUnknown *pUnkOuter, void **pObj );
extern
HRESULT
SAXXMLReader_create
(
IUnknown
*
pUnkOuter
,
void
**
pObj
);
extern
HRESULT
SAXXMLReader_create
(
IUnknown
*
pUnkOuter
,
void
**
pObj
);
extern
HRESULT
XMLHTTPRequest_create
(
IUnknown
*
pUnkOuter
,
void
**
pObj
);
extern
HRESULT
XMLHTTPRequest_create
(
IUnknown
*
pUnkOuter
,
void
**
pObj
);
static
inline
const
CLSID
*
DOMDocument_version
(
const
MSXML_VERSION
v
)
static
inline
const
CLSID
*
DOMDocument_version
(
MSXML_VERSION
v
)
{
{
CLSID
const
*
clsid
;
switch
(
v
)
switch
(
v
)
{
{
case
MSXML_DEFAULT
:
default:
clsid
=
&
CLSID_DOMDocument
;
case
MSXML_DEFAULT
:
return
&
CLSID_DOMDocument
;
break
;
case
MSXML3
:
return
&
CLSID_DOMDocument30
;
case
MSXML3
:
case
MSXML4
:
return
&
CLSID_DOMDocument40
;
clsid
=
&
CLSID_DOMDocument30
;
case
MSXML6
:
return
&
CLSID_DOMDocument60
;
break
;
case
MSXML4
:
clsid
=
&
CLSID_DOMDocument40
;
break
;
case
MSXML6
:
clsid
=
&
CLSID_DOMDocument60
;
break
;
}
}
return
clsid
;
}
}
static
inline
const
CLSID
*
SchemaCache_version
(
const
MSXML_VERSION
v
)
static
inline
const
CLSID
*
SchemaCache_version
(
MSXML_VERSION
v
)
{
{
CLSID
const
*
clsid
;
switch
(
v
)
switch
(
v
)
{
{
case
MSXML_DEFAULT
:
default:
clsid
=
&
CLSID_XMLSchemaCache
;
case
MSXML_DEFAULT
:
return
&
CLSID_XMLSchemaCache
;
break
;
case
MSXML3
:
return
&
CLSID_XMLSchemaCache30
;
case
MSXML3
:
case
MSXML4
:
return
&
CLSID_XMLSchemaCache40
;
clsid
=
&
CLSID_XMLSchemaCache30
;
case
MSXML6
:
return
&
CLSID_XMLSchemaCache60
;
break
;
case
MSXML4
:
clsid
=
&
CLSID_XMLSchemaCache40
;
break
;
case
MSXML6
:
clsid
=
&
CLSID_XMLSchemaCache60
;
break
;
}
}
return
clsid
;
}
}
typedef
struct
bsc_t
bsc_t
;
typedef
struct
bsc_t
bsc_t
;
...
...
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