Commit 61a63e15 authored by Barry Warsaw's avatar Barry Warsaw

Quieted gcc -Wall by removing unused local variables.

Suppressing my urge to reformat according to Python coding standards!
:-)
parent 54dbf02d
...@@ -58,6 +58,12 @@ ...@@ -58,6 +58,12 @@
$Log$ $Log$
Revision 2.3 1997/01/14 17:38:28 bwarsaw
Quieted gcc -Wall by removing unused local variables.
Suppressing my urge to reformat according to Python coding standards!
:-)
Revision 2.2 1997/01/06 22:57:52 guido Revision 2.2 1997/01/06 22:57:52 guido
Jim's latest version. Jim's latest version.
...@@ -317,9 +323,7 @@ O_cwrite(ARG(Oobject*, self), ARG(char*, c), ARG(int, l)) ...@@ -317,9 +323,7 @@ O_cwrite(ARG(Oobject*, self), ARG(char*, c), ARG(int, l))
ARGDECL(char*, c) ARGDECL(char*, c)
ARGDECL(int, l) ARGDECL(int, l)
{ {
PyObject *s; int newl;
char *b;
int newl, space_needed;
newl=self->pos+l; newl=self->pos+l;
if(newl > self->buf_size) if(newl > self->buf_size)
...@@ -352,8 +356,8 @@ O_write(ARG(Oobject*, self), ARG(PyObject*, args)) ...@@ -352,8 +356,8 @@ O_write(ARG(Oobject*, self), ARG(PyObject*, args))
ARGDECL(PyObject*, args) ARGDECL(PyObject*, args)
{ {
PyObject *s; PyObject *s;
char *c, *b; char *c;
int l, newl, space_needed; int l;
UNLESS(PyArg_Parse(args, "O", &s)) return NULL; UNLESS(PyArg_Parse(args, "O", &s)) return NULL;
UNLESS(-1 != (l=PyString_Size(s))) return NULL; UNLESS(-1 != (l=PyString_Size(s))) return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment