# HG changeset patch
# User tabbott@mit.edu
# Date 1206829542 14400
# Node ID eeefb4660d006fc5177986437163319649321f5a
# Parent  d8aedc3513038c5a8180785aa408f4c51d8e18b6
Initialize handle to NULL so that error check works.

diff -r d8aedc351303 -r eeefb4660d00 sage/rings/polynomial/multi_polynomial_libsingular.pyx
--- a/sage/rings/polynomial/multi_polynomial_libsingular.pyx	Sat Mar 29 17:42:26 2008 -0400
+++ b/sage/rings/polynomial/multi_polynomial_libsingular.pyx	Sat Mar 29 18:25:42 2008 -0400
@@ -103,7 +103,7 @@ cdef init_singular():
     context these symbols are not known globally. The work around so
     far is to load the library again and to specifiy RTLD_GLOBAL.
     """
-    cdef void *handle
+    cdef void *handle = NULL
 
 
     for extension in ["so", "dylib", "dll"]:
