[OB] Remove spurious va_end in vwarning

Message ID 1407240491-11340-1-git-send-email-gbenson@redhat.com
State Committed
Headers

Commit Message

Gary Benson Aug. 5, 2014, 12:08 p.m. UTC
  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.
---
 gdb/ChangeLog |    4 ++++
 gdb/utils.c   |    1 -
 2 files changed, 4 insertions(+), 1 deletions(-)
  

Patch

diff --git a/gdb/utils.c b/gdb/utils.c
index a4b5937..23055ce 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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);
     }
 }