From: Daniel Stenberg Date: Tue, 21 Dec 2004 14:33:37 +0000 (+0000) Subject: oops, variables first then code X-Git-Tag: curl-7_13_0~126 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=444f6427b8d561281498c3f782857a5818ad51c6;p=curl oops, variables first then code --- diff --git a/lib/sendf.c b/lib/sendf.c index 91671b95e..4094c3239 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -154,8 +154,8 @@ void Curl_infof(struct SessionHandle *data, const char *fmt, ...) void Curl_failf(struct SessionHandle *data, const char *fmt, ...) { va_list ap; - va_start(ap, fmt); size_t len; + va_start(ap, fmt); vsnprintf(data->state.buffer, BUFSIZE, fmt, ap);