Commit fc52f875 authored by Jim Fulton's avatar Jim Fulton

Got rid of some unreferenced vars.

parent a932a968
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
static char Trie_module_documentation[] = static char Trie_module_documentation[] =
"" ""
"\n$Id: Trie.c,v 1.10 1997/06/06 19:36:36 jim Exp $" "\n$Id: Trie.c,v 1.11 1997/07/17 14:50:57 jim Exp $"
; ;
...@@ -147,8 +147,6 @@ Trie___setstate__(TrieObject *self, PyObject *args) ...@@ -147,8 +147,6 @@ Trie___setstate__(TrieObject *self, PyObject *args)
static PyObject * static PyObject *
Trie___getstate__(TrieObject *self, PyObject *args) Trie___getstate__(TrieObject *self, PyObject *args)
{ {
PyObject *r;
UNLESS(PyArg_ParseTuple(args, "")) return NULL; UNLESS(PyArg_ParseTuple(args, "")) return NULL;
PER_USE_OR_RETURN(self, NULL); PER_USE_OR_RETURN(self, NULL);
...@@ -172,9 +170,6 @@ Trie___getstate__(TrieObject *self, PyObject *args) ...@@ -172,9 +170,6 @@ Trie___getstate__(TrieObject *self, PyObject *args)
static PyObject * static PyObject *
Trie__p___reinit__(TrieObject *self, PyObject *args) Trie__p___reinit__(TrieObject *self, PyObject *args)
{ {
int oid;
PyObject *jar, *copy;
/* Note that this implementation is broken, in that it doesn't /* Note that this implementation is broken, in that it doesn't
account for subclass needs. */ account for subclass needs. */
Py_XDECREF(self->bins); Py_XDECREF(self->bins);
...@@ -387,8 +382,6 @@ Trie_cclear(TrieObject *self) ...@@ -387,8 +382,6 @@ Trie_cclear(TrieObject *self)
static PyObject * static PyObject *
Trie_clear(TrieObject *self, PyObject *args) Trie_clear(TrieObject *self, PyObject *args)
{ {
PyObject *r;
UNLESS(PyArg_ParseTuple(args, "")) return NULL; UNLESS(PyArg_ParseTuple(args, "")) return NULL;
if(Trie_cclear(self) < 0) return NULL; if(Trie_cclear(self) < 0) return NULL;
Py_INCREF(Py_None); Py_INCREF(Py_None);
...@@ -426,7 +419,6 @@ static PyObject * ...@@ -426,7 +419,6 @@ static PyObject *
Trie_cget(TrieObject *self, char *word, PyObject *oword) Trie_cget(TrieObject *self, char *word, PyObject *oword)
{ {
int c; int c;
char *k;
PyObject *bins, *bin; PyObject *bins, *bin;
PyTypeObject *typ; PyTypeObject *typ;
PyObject *key; PyObject *key;
...@@ -749,7 +741,7 @@ void ...@@ -749,7 +741,7 @@ void
initTrie() initTrie()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.10 $"; char *rev="$Revision: 1.11 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
...@@ -789,6 +781,9 @@ initTrie() ...@@ -789,6 +781,9 @@ initTrie()
Revision Log: Revision Log:
$Log: Trie.c,v $ $Log: Trie.c,v $
Revision 1.11 1997/07/17 14:50:57 jim
Got rid of some unreferenced vars.
Revision 1.10 1997/06/06 19:36:36 jim Revision 1.10 1997/06/06 19:36:36 jim
Fixed major bug in (de)activation control logic. Fixed major bug in (de)activation control logic.
......
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