c-common.c (def_fn_type): Remove extra va_end.

* c-common.c (def_fn_type): Remove extra va_end.

	* gcc-interface/utils.c (def_fn_type): Remove extra va_end.

From-SVN: r174218
This commit is contained in:
Jakub Jelinek 2011-05-25 19:26:23 +02:00 committed by Jakub Jelinek
parent 6c81b2bc25
commit 0957c02992
4 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-05-25 Jakub Jelinek <jakub@redhat.com>
* gcc-interface/utils.c (def_fn_type): Remove extra va_end.
2011-05-25 Kai Tietz <ktietz@redhat.com>
* adaint.c (__gnat_to_canonical_file_list_next): Use array

View File

@ -4965,7 +4965,6 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
goto egress;
args[i] = t;
}
va_end (list);
t = builtin_types[ret];
if (t == error_mark_node)

View File

@ -1,3 +1,7 @@
2011-05-25 Jakub Jelinek <jakub@redhat.com>
* c-common.c (def_fn_type): Remove extra va_end.
2011-05-23 Jason Merrill <jason@redhat.com>
PR c++/48106

View File

@ -4451,7 +4451,6 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...)
goto egress;
args[i] = t;
}
va_end (list);
t = builtin_types[ret];
if (t == error_mark_node)