Remove spurious va_end in vwarning

This commit removes a spurious va_end in vwarning.

gdb/
2014-08-05  Gary Benson  <gbenson@redhat.com>

	* utils.c (vwarning): Remove spurious va_end.
This commit is contained in:
Gary Benson 2014-08-05 13:06:19 +01:00
parent c26fd07110
commit d6c95504f0
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-05 Gary Benson <gbenson@redhat.com>
* utils.c (vwarning): Remove spurious va_end.
2014-08-05 Alan Modra <amodra@gmail.com>
* charset.c (convert_between_encodings): Cast result of obstack_base.

View File

@ -529,7 +529,6 @@ vwarning (const char *string, va_list args)
fputs_unfiltered (warning_pre_print, gdb_stderr);
vfprintf_unfiltered (gdb_stderr, string, args);
fprintf_unfiltered (gdb_stderr, "\n");
va_end (args);
}
}