gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 24 Aug 2010 17:24:28 +0000 (17:24 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 24 Aug 2010 17:24:28 +0000 (17:24 +0000)
* python/py-type.c (typy_richcompare): Initialize worklist.

gdb/ChangeLog
gdb/python/py-type.c

index 19416118efa1b483dc943a6762b3bf9d2a39d77d..d70a5fe7a3d8515995b10de26eb543989075bb7c 100644 (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>
index 4c80210861f3512647bf1793bda39fcbe83dccfc..eff2d557b38a098ffa4bc19bb9c6763e015460a9 100644 (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 ();
This page took 0.029563 seconds and 4 git commands to generate.