aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-19 16:02:36 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-19 16:02:36 +0000
commit26f9bcee59e71a74b4d2dd5b76b9ef661cd5060c (patch)
treee221f437c617220ded04e5647176fd9c604c8ea8 /gdb/varobj.c
parent654e7c1f80fd51145112e0ce93d940dc432934bf (diff)
downloadgdb-26f9bcee59e71a74b4d2dd5b76b9ef661cd5060c.zip
gdb-26f9bcee59e71a74b4d2dd5b76b9ef661cd5060c.tar.gz
gdb-26f9bcee59e71a74b4d2dd5b76b9ef661cd5060c.tar.bz2
* varobj.c (varobj_update): Initialize children_changed.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 7235635..8f22156 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1758,7 +1758,7 @@ VEC(varobj_update_result) *varobj_update (struct varobj **varp, int explicit)
if (v->pretty_printer)
{
VEC (varobj_p) *changed = 0, *new = 0, *unchanged = 0;
- int i, children_changed;
+ int i, children_changed = 0;
if (v->frozen)
continue;