Code cleanup.
	* mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization
	and the static keyword.
	* mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put):
	Make prefix an array.
	* mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise.
	* mi/mi-main.c (get_register): Remove stb initialization and the static
	keyword.
This commit is contained in:
Jan Kratochvil
2011-08-28 20:43:43 +00:00
parent 9117472339
commit cb0fd152d6
4 changed files with 16 additions and 5 deletions

View File

@ -247,7 +247,7 @@ list_args_or_locals (enum what_to_list what, int values, struct frame_info *fi)
struct symbol *sym;
struct dict_iterator iter;
struct cleanup *cleanup_list;
static struct ui_stream *stb = NULL;
struct ui_stream *stb;
struct type *type;
char *name_of_result;
struct ui_out *uiout = current_uiout;