public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [OB PATCH] Remove spurious va_end in vwarning
@ 2014-08-05 12:08 Gary Benson
  0 siblings, 0 replies; only message in thread
From: Gary Benson @ 2014-08-05 12:08 UTC (permalink / raw)
  To: gdb-patches

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(-)

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);
     }
 }
 
-- 
1.7.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-05 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 12:08 [OB PATCH] Remove spurious va_end in vwarning Gary Benson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).