Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

C standard requires va_end() to be placed before return.

  • Loading branch information...
commit 9689990eb2c4d57a03e80026d27097339be8aba4 1 parent 514059f
Nobuyoshi Nakada authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  configure
  2. +1 −0  configure.in
1  configure
View
@@ -12250,6 +12250,7 @@ int foo(int x, ...) {
va_arg(va, int);
va_arg(va, char *);
va_arg(va, double);
+ va_end(va);
return 0;
}
1  configure.in
View
@@ -80,6 +80,7 @@ int foo(int x, ...) {
va_arg(va, int);
va_arg(va, char *);
va_arg(va, double);
+ va_end(va);
return 0;
}
], [return foo(10, "", 3.14);],
Please sign in to comment.
Something went wrong with that request. Please try again.