chiark / gitweb /
field.c: Delete the completely unused `getfe' function.
[catacomb-python] / field.c
diff --git a/field.c b/field.c
index fae03653140d1db5dd984aa8cd311e83a07e8865..224363dfce270e4d63c95eb842a4f89c6bec5632 100644 (file)
--- a/field.c
+++ b/field.c
@@ -126,16 +126,6 @@ static mp *tofe(field *f, PyObject *o)
   return (y);
 }
 
-mp *getfe(field *f, PyObject *o)
-{
-  mp *x = 0;
-  if ((x = tofe(f, o)) == 0) {
-    PyErr_Format(PyExc_TypeError, "can't convert %.100s to fe",
-                o->ob_type->tp_name);
-  }
-  return (x);
-}
-
 /*----- Field elements ----------------------------------------------------*/
 
 static int febinop(PyObject *x, PyObject *y,