summaryrefslogtreecommitdiff
path: root/math/py-gsl/files/patch-src_init_initmodule.c
blob: d98ca6ec9054a64bcaee18232c080915018dc80d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/init/initmodule.c.orig
+++ src/init/initmodule.c
@@ -83,7 +83,7 @@
 
      FUNC_MESS_BEGIN();
 #if DEBUG == 1
-     PyObject *o;
+     { PyObject *o;
      int tmp, i, max, *ptr;
      if(!PyArg_ParseTuple(args, "i", &tmp))
 	  return NULL;
@@ -108,6 +108,7 @@
      Py_INCREF(Py_None);
      FUNC_MESS_END();
      return Py_None;
+     }
 #else 
      GSL_ERROR_NULL("PyGSL was not compiled with DEBUG = 1; Can not set DEBUG level!", GSL_EUNIMPL);
 #endif