diff options
Diffstat (limited to 'openbsd-compat/bsd-asprintf.c')
-rw-r--r-- | openbsd-compat/bsd-asprintf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-asprintf.c b/openbsd-compat/bsd-asprintf.c index db57acce9..3368195d4 100644 --- a/openbsd-compat/bsd-asprintf.c +++ b/openbsd-compat/bsd-asprintf.c | |||
@@ -47,7 +47,6 @@ vasprintf(char **str, const char *fmt, va_list ap) | |||
47 | char *string, *newstr; | 47 | char *string, *newstr; |
48 | size_t len; | 48 | size_t len; |
49 | 49 | ||
50 | va_start(ap); | ||
51 | VA_COPY(ap2, ap); | 50 | VA_COPY(ap2, ap); |
52 | if ((string = malloc(INIT_SZ)) == NULL) | 51 | if ((string = malloc(INIT_SZ)) == NULL) |
53 | goto fail; | 52 | goto fail; |