This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB PATCH] Remove spurious va_end in vwarning
- From: Gary Benson <gbenson at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 5 Aug 2014 13:08:11 +0100
- Subject: [OB PATCH] Remove spurious va_end in vwarning
- Authentication-results: sourceware.org; auth=none
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