summaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-08-29 04:58:26 +0000
committerYao Qi <yao@codesourcery.com>2013-08-29 04:58:26 +0000
commitbf8793bb97185c07036fa3b686f391f504fb0291 (patch)
treee38e36c5c942aa387099fd84374d44cbcbc89afe /gdb/varobj.c
parent17ba854700754c3f81bd3f975cb46ea180f91431 (diff)
downloadbinutils-gdb-bf8793bb97185c07036fa3b686f391f504fb0291.tar.gz
gdb/
* varobj.c (install_dynamic_child): Remove trailing space. Add one blank line after variable declaration.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index d4fa6ba0cc0..ced3e2d45bc 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1045,11 +1045,11 @@ install_dynamic_child (struct varobj *var,
*cchanged = 1;
}
}
- else
+ else
{
varobj_p existing = VEC_index (varobj_p, var->children, index);
-
int type_updated = update_type_if_necessary (existing, value);
+
if (type_updated)
{
if (type_changed)