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
26084daa
Commit
26084daa
authored
Feb 22, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Remove useless parts of schema cleanup helper.
parent
e8c6ea22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
schema.c
dlls/msxml3/schema.c
+3
-6
No files found.
dlls/msxml3/schema.c
View file @
26084daa
...
...
@@ -660,7 +660,7 @@ static inline xmlSchemaPtr get_node_schema(schema_cache* This, xmlNodePtr node)
return
(
!
entry
)
?
NULL
:
entry
->
schema
;
}
xmlExternalEntityLoader
_external_entity_loader
=
NULL
;
static
xmlExternalEntityLoader
_external_entity_loader
;
static
xmlParserInputPtr
external_entity_loader
(
const
char
*
URL
,
const
char
*
ID
,
xmlParserCtxtPtr
ctxt
)
...
...
@@ -713,7 +713,7 @@ void schemasInit(void)
datatypes_src
=
BAD_CAST
buf
;
datatypes_len
=
len
+
1
;
if
(
(
void
*
)
xmlGetExternalEntityLoader
()
!=
(
void
*
)
external_entity_loader
)
if
(
xmlGetExternalEntityLoader
()
!=
external_entity_loader
)
{
_external_entity_loader
=
xmlGetExternalEntityLoader
();
xmlSetExternalEntityLoader
(
external_entity_loader
);
...
...
@@ -722,10 +722,7 @@ void schemasInit(void)
void
schemasCleanup
(
void
)
{
if
(
datatypes_handle
)
FreeResource
(
datatypes_handle
);
if
(
datatypes_schema
)
xmlSchemaFree
(
datatypes_schema
);
xmlSchemaFree
(
datatypes_schema
);
xmlSetExternalEntityLoader
(
_external_entity_loader
);
}
...
...
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