* python/py-type.c (typy_richcompare): Initialize worklist.
This commit is contained in:
Jan Kratochvil 2010-08-24 17:24:28 +00:00
parent b51176f170
commit e8fd65ef54
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* python/py-type.c (typy_richcompare): Initialize worklist.
2010-08-24 Daniel Jacobowitz <dan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
Jonathan Larmour <jifl@eCosCentric.com>

View File

@ -892,7 +892,7 @@ typy_richcompare (PyObject *self, PyObject *other, int op)
else
{
struct bcache *cache;
VEC (type_equality_entry_d) *worklist;
VEC (type_equality_entry_d) *worklist = NULL;
struct type_equality_entry entry;
cache = bcache_xmalloc ();