aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-08-05 13:06:19 +0100
committerGary Benson <gbenson@redhat.com>2014-08-05 13:06:19 +0100
commitd6c95504f0d3e51709f50c6e82cf78e18b188430 (patch)
treeb7ec39393bdd5250ae35427b96cf0c3a6f2b4c53 /gdb
parentc26fd07110bd0d3197bb7a9ef9feab79c1fdb069 (diff)
downloadgdb-d6c95504f0d3e51709f50c6e82cf78e18b188430.zip
gdb-d6c95504f0d3e51709f50c6e82cf78e18b188430.tar.gz
gdb-d6c95504f0d3e51709f50c6e82cf78e18b188430.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/utils.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ea48742..a8f91fe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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);
}
}