d5274d9
--- resources/JuPyMake/JuPyMake.cpp.orig	2019-02-12 16:05:25.000000000 -0700
d5274d9
+++ resources/JuPyMake/JuPyMake.cpp	2019-03-11 20:55:50.028569517 -0600
d5274d9
@@ -137,12 +137,6 @@ struct module_state {
d5274d9
 static struct module_state _state;
d5274d9
 #endif
d5274d9
 
d5274d9
-static PyObject * error_out(PyObject *m) {
d5274d9
-    struct module_state *st = GETSTATE(m);
d5274d9
-    PyErr_SetString(st->error, "something bad happened");
d5274d9
-    return NULL;
d5274d9
-}
d5274d9
-
d5274d9
 static PyMethodDef JuPyMakeMethods[] = {
d5274d9
     {"ExecuteCommand",(PyCFunction)ExecuteCommand, METH_VARARGS,
d5274d9
      "Runs a polymake command"},
d5274d9
@@ -200,7 +194,6 @@ extern "C" void initJuPyMake(void)
d5274d9
 
d5274d9
     if (module == NULL)
d5274d9
         INITERROR;
d5274d9
-    struct module_state *st = GETSTATE(module);
d5274d9
     JuPyMakeError = PyErr_NewException(const_cast<char*>("JuPyMake.PolymakeError"), NULL, NULL );
d5274d9
     Py_INCREF( JuPyMakeError );
d5274d9