On 17-11-18 16:46:03, Simon Marchi wrote:
/* If 1, the -var-update always recomputes the value in the
current thread and frame. Otherwise, variable object is
always updated in the specific scope/thread/frame. */
- int floating;
+ int floating = 0;
/* Flag that indicates validity: set to 0 when this varobj_root
refers
to symbols that do not exist anymore. */
- int is_valid;
+ int is_valid = 1;
Since we do the change, can we change these fields to bool?
@@ -114,27 +113,27 @@ struct varobj_dynamic
used to decide if dynamic varobj should recompute their
children.
In the event that the frontend never asked for the children, we
can avoid that. */
- int children_requested;
+ int children_requested = 0;
Likewise. Otherwise, it is good to me.