* source.c (get_current_source_symtab_and_line)
	(set_current_source_symtab_and_line): Use { 0 }.
	* cli/cli-cmds.c (list_command): Likewise.
This commit is contained in:
Daniel Jacobowitz
2006-05-15 15:50:14 +00:00
parent b758e50f4c
commit 245c7f487f
3 changed files with 11 additions and 5 deletions

View File

@@ -667,9 +667,9 @@ static void
list_command (char *arg, int from_tty)
{
struct symtabs_and_lines sals, sals_end;
struct symtab_and_line sal = { };
struct symtab_and_line sal_end = { };
struct symtab_and_line cursal = { };
struct symtab_and_line sal = { 0 };
struct symtab_and_line sal_end = { 0 };
struct symtab_and_line cursal = { 0 };
struct symbol *sym;
char *arg1;
int no_end = 1;