summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 22:57:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 22:57:11 +0100
commitbd64688c6aca6512efd0bd7d95000579beea3119 (patch)
treec05cf6c484f03b967c95508c13cce8179e08d3bc /source4/web_server
parent32e03f9fa55a4c897ade55b9b2e3740facfdcfd1 (diff)
downloadsamba-bd64688c6aca6512efd0bd7d95000579beea3119.tar.gz
samba-bd64688c6aca6512efd0bd7d95000579beea3119.tar.bz2
samba-bd64688c6aca6512efd0bd7d95000579beea3119.zip
Fix more compiler warnings in various places.
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/wsgi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c
index dcbb3c7fb6..9b660ff362 100644
--- a/source4/web_server/wsgi.c
+++ b/source4/web_server/wsgi.c
@@ -194,7 +194,6 @@ static PyObject *py_input_read(PyObject *_self, PyObject *args, PyObject *kwargs
static PyObject *py_input_readline(PyObject *_self)
{
- input_Stream_Object *self = (input_Stream_Object *)_self;
/* FIXME */
PyErr_SetString(PyExc_NotImplementedError,
"readline() not yet implemented");
@@ -204,9 +203,7 @@ static PyObject *py_input_readline(PyObject *_self)
static PyObject *py_input_readlines(PyObject *_self, PyObject *args, PyObject *kwargs)
{
const char *kwnames[] = { "hint", NULL };
- PyObject *ret;
int hint;
- input_Stream_Object *self = (input_Stream_Object *)_self;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|i", discard_const_p(char *, kwnames), &hint))
return NULL;
@@ -219,7 +216,6 @@ static PyObject *py_input_readlines(PyObject *_self, PyObject *args, PyObject *k
static PyObject *py_input___iter__(PyObject *_self)
{
- input_Stream_Object *self = (input_Stream_Object *)_self;
/* FIXME */
PyErr_SetString(PyExc_NotImplementedError,
"__iter__() not yet implemented");