--- libxml2-2.9.0/threads.c.orig	2013-03-31 15:27:37 +0400
+++ libxml2-2.9.0/threads.c	2013-03-31 15:29:58 +0400
@@ -1007,6 +1007,9 @@
         ATTRIBUTE_UNUSED LPVOID lpvReserved)
 #endif
 {
+    /* Unused */
+    (void)(hinstDLL);
+    (void)(lpvReserved);
     switch (fdwReason) {
         case DLL_THREAD_DETACH:
             if (globalkey != TLS_OUT_OF_INDEXES) {
