* varobj.c (varobj_update): Initialize children_changed.

This commit is contained in:
Joel Brobecker 2009-09-19 16:02:36 +00:00
parent 654e7c1f80
commit 26f9bcee59
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-09-19 Matt Rice <ratmice@gmail.com> (tiny change)
Checked in by Joel Brobecker <brobecker@gnat.com>
* varobj.c (varobj_update): Initialize children_changed.
2009-09-19 Vladimir Prus <vladimir@codesourcery.com>
* mi/mi-cmd-stack.c (list_args_or_locals): Workaround

View file

@ -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;