variable_default_display has a single caller now, so remove it.
Reviewed-by: Keith Seitz <keiths@redhat.com>
/* Utility routines */
-static enum varobj_display_formats variable_default_display (struct varobj *);
-
static bool update_type_if_necessary (struct varobj *var,
struct value *new_value);
return NULL;
}
- var->format = variable_default_display (var.get ());
+ var->format = FORMAT_NATURAL;
var->root->valid_block =
var->root->floating ? NULL : tracker.block ();
var->root->global
return type;
}
-/* What is the default display for this variable? We assume that
- everything is "natural". Any exceptions? */
-static enum varobj_display_formats
-variable_default_display (struct varobj *var)
-{
- return FORMAT_NATURAL;
-}
-
/*
* Language-dependencies
*/