[Scipy-svn] r5381 - branches/0.7.x/scipy/weave

scipy-svn@scip... scipy-svn@scip...
Thu Jan 8 01:58:53 CST 2009


Author: jarrod.millman
Date: 2009-01-08 01:58:52 -0600 (Thu, 08 Jan 2009)
New Revision: 5381

Modified:
   branches/0.7.x/scipy/weave/inline_tools.py
Log:
Backport r5378


Modified: branches/0.7.x/scipy/weave/inline_tools.py
===================================================================
--- branches/0.7.x/scipy/weave/inline_tools.py	2009-01-08 07:58:10 UTC (rev 5380)
+++ branches/0.7.x/scipy/weave/inline_tools.py	2009-01-08 07:58:52 UTC (rev 5381)
@@ -81,9 +81,11 @@
 
         try_code =    'try                              \n' \
                       '{                                \n' \
-                      '    PyObject* raw_locals = py_to_raw_dict('       \
+                      '    PyObject* raw_locals __attribute__ ((unused));\n' \
+                      '    raw_locals = py_to_raw_dict('       \
                                              'py__locals,"_locals");\n'  \
-                      '    PyObject* raw_globals = py_to_raw_dict('      \
+                      '    PyObject* raw_globals __attribute__ ((unused));\n' \
+                      '    raw_globals = py_to_raw_dict('      \
                                           'py__globals,"_globals");\n' + \
                       '    /* argument conversion code */     \n' + \
                            decl_code                               + \



More information about the Scipy-svn mailing list