Skip to content

Commit 9913b06

Browse files
committed
Fix compilation under UWP with msvc.
1 parent dc1e69c commit 9913b06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7585,7 +7585,7 @@ xmlHandleUndeclaredEntity(xmlParserCtxtPtr ctxt, const xmlChar *name) {
75857585

75867586
static xmlEntityPtr
75877587
xmlLookupGeneralEntity(xmlParserCtxtPtr ctxt, const xmlChar *name, int inAttr) {
7588-
xmlEntityPtr ent;
7588+
xmlEntityPtr ent = NULL;
75897589

75907590
/*
75917591
* Predefined entities override any extra definition

xpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8481,7 +8481,7 @@ void
84818481
xmlXPathLangFunction(xmlXPathParserContextPtr ctxt, int nargs) {
84828482
xmlXPathObjectPtr val;
84838483
xmlNodePtr cur;
8484-
xmlChar *theLang;
8484+
xmlChar *theLang = NULL;
84858485
const xmlChar *lang;
84868486
int ret = 0;
84878487
int i;

0 commit comments

Comments
 (0)