From d6c95504f0d3e51709f50c6e82cf78e18b188430 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Tue, 5 Aug 2014 13:06:19 +0100 Subject: [PATCH] Remove spurious va_end in vwarning This commit removes a spurious va_end in vwarning. gdb/ 2014-08-05 Gary Benson * utils.c (vwarning): Remove spurious va_end. --- gdb/ChangeLog | 4 ++++ gdb/utils.c | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ea487427e5d..a8f91febb2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-05 Gary Benson + + * utils.c (vwarning): Remove spurious va_end. + 2014-08-05 Alan Modra * charset.c (convert_between_encodings): Cast result of obstack_base. diff --git a/gdb/utils.c b/gdb/utils.c index a4b59371db1..23055ce0cc1 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); } } -- 2.30.2