File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,9 @@ static xmlMutex xmlThrDefMutex;
77
77
78
78
#ifdef HAVE_WIN32_THREADS
79
79
#if defined(LIBXML_STATIC ) && !defined(LIBXML_STATIC_FOR_DLL )
80
- #define USE_WAIT_DTOR
80
+ #if !defined(WINAPI_FAMILY_PARTITION ) || (!WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_APP ) && WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP ))
81
+ #define USE_WAIT_DTOR
82
+ #endif
81
83
#else
82
84
#define USE_DLL_MAIN
83
85
#endif
Original file line number Diff line number Diff line change @@ -8203,7 +8203,7 @@ void
8203
8203
xmlXPathLangFunction (xmlXPathParserContextPtr ctxt , int nargs ) {
8204
8204
xmlXPathObjectPtr val ;
8205
8205
xmlNodePtr cur ;
8206
- xmlChar * theLang ;
8206
+ xmlChar * theLang = NULL ;
8207
8207
const xmlChar * lang ;
8208
8208
int ret = 0 ;
8209
8209
int i ;
You can’t perform that action at this time.
0 commit comments