Author: mjevans
Date: Wed Feb 22 12:23:07 2012
New Revision: 15169

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.xs

Log:
Fix compile errors on Windows introduced in 1.617


Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Wed Feb 22 12:23:07 2012
@@ -11,6 +11,8 @@
   Fixed compiler warnings in Driver_xst.h (Martin J. Evans)
   Fixed compiler warning in DBI.xs (H.Merijn Brand)
   RT74975 - Fixed Gofer tests failing on Windows (Manoj Kumar)
+  Fixed my_ctx compile errors introduced in 1.617 on Windows (Dave
+  Mitchell)
 
   Significantly optimized method dispatch via cache (Dave Mitchell)
   Significantly optimized DBI internals for threads (Dave Mitchell)

Modified: dbi/trunk/DBI.xs
==============================================================================
--- dbi/trunk/DBI.xs    (original)
+++ dbi/trunk/DBI.xs    Wed Feb 22 12:23:07 2012
@@ -4290,10 +4290,12 @@
 
 
 BOOT:
+    {
+        MY_CXT_INIT;
+        (void)MY_CXT; /* avoid 'unused variable' warning */
+    }
     (void)cv;
     (void)items; /* avoid 'unused variable' warning */
-    MY_CXT_INIT;
-    (void)MY_CXT; /* avoid 'unused variable' warning */
     dbi_bootinit(NULL);
 
 

Reply via email to