summaryrefslogtreecommitdiffstats
path: root/Modules/flmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
commit1ed5e5768429f425f5bcb9f03bf04179dcca569f (patch)
tree74e39013dfe4bcd297fa3e0d80b7ae9ff356a53e /Modules/flmodule.c
parent86bea46b3d16c4ed0453e17f241ddbdfade76c98 (diff)
downloadcpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.zip
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.gz
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/flmodule.c')
-rw-r--r--Modules/flmodule.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c
index 1eec1f5..2e2dd5e 100644
--- a/Modules/flmodule.c
+++ b/Modules/flmodule.c
@@ -1496,29 +1496,6 @@ form_redraw_form(f, args)
}
static PyObject *
-form_add_object(f, args)
- formobject *f;
- PyObject *args;
-{
- genericobject *g;
- if (args == NULL || !is_genericobject(args)) {
- PyErr_BadArgument();
- return NULL;
- }
- g = (genericobject *)args;
- if (findgeneric(g->ob_generic) != NULL) {
- PyErr_SetString(PyExc_RuntimeError,
- "add_object of object already in a form");
- return NULL;
- }
- fl_add_object(f->ob_form, g->ob_generic);
- knowgeneric(g);
-
- Py_INCREF(Py_None);
- return Py_None;
-}
-
-static PyObject *
form_set_form_position(f, args)
formobject *f;
PyObject *args;
@@ -1915,8 +1892,6 @@ form_setattr(f, name, v)
char *name;
PyObject *v;
{
- int ret;
-
if (v == NULL) {
PyErr_SetString(PyExc_TypeError,
"can't delete form attributes");