aboutsummaryrefslogtreecommitdiff
path: root/pow/POW-0.7/POW.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-05-29 23:21:56 +0000
committerRob Austein <sra@hactrn.net>2009-05-29 23:21:56 +0000
commite79df117911255b381452be6321e48d4b55ed898 (patch)
tree9ae95de364b4e4ed7783b781fc107510f94e425f /pow/POW-0.7/POW.c
parent65961cba8487ceb3a61b7239ddeb8c3477cfb176 (diff)
Unused variables
svn path=/pow/POW-0.7/POW.c; revision=2469
Diffstat (limited to 'pow/POW-0.7/POW.c')
-rw-r--r--pow/POW-0.7/POW.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pow/POW-0.7/POW.c b/pow/POW-0.7/POW.c
index b9c61e4e..4460f2e4 100644
--- a/pow/POW-0.7/POW.c
+++ b/pow/POW-0.7/POW.c
@@ -4133,7 +4133,7 @@ static char ssl_object_accept__doc__[] =
static PyObject *
ssl_object_accept(ssl_object *self, PyObject *args)
{
- int ret = 0, err = 0;
+ int ret = 0;
if (!PyArg_ParseTuple(args, ""))
goto error;
@@ -4188,7 +4188,7 @@ static char ssl_object_connect__doc__[] =
static PyObject *
ssl_object_connect(ssl_object *self, PyObject *args)
{
- int ret, err = 0;
+ int ret;
if (!PyArg_ParseTuple(args, ""))
goto error;
@@ -4229,7 +4229,7 @@ static PyObject *
ssl_object_write(ssl_object *self, PyObject *args)
{
char *msg;
- int length = 0, ret = 0, err = 0;
+ int length = 0, ret = 0;
if (!PyArg_ParseTuple(args, "s#", &msg, &length))
goto error;
@@ -4271,7 +4271,7 @@ ssl_object_read(ssl_object *self, PyObject *args)
{
PyObject *data;
char *msg = NULL;
- int len = 1024, ret = 0, err = 0;
+ int len = 1024, ret = 0;
if (!PyArg_ParseTuple(args, "|i", &len))
goto error;
@@ -4410,7 +4410,7 @@ static char ssl_object_shutdown__doc__[] =
static PyObject *
ssl_object_shutdown(ssl_object *self, PyObject *args)
{
- int ret = 0, err = 0;
+ int ret = 0;
if (!PyArg_ParseTuple(args, ""))
goto error;
@@ -8052,7 +8052,7 @@ static struct PyMethodDef pow_module_methods[] = {
void
init_POW(void)
{
- PyObject *m, *d;
+ PyObject *m;
x509type.ob_type = &PyType_Type;
x509_storetype.ob_type = &PyType_Type;