1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

remove duplicate va_start() call

This commit is contained in:
Yang Tse 2008-09-04 14:57:03 +00:00
parent 8733e087d7
commit c0f3e32447

View File

@ -576,7 +576,6 @@ static void warnf(struct Configurable *config, const char *fmt, ...)
char *ptr;
char print_buffer[256];
va_start(ap, fmt);
va_start(ap, fmt);
len = vsnprintf(print_buffer, sizeof(print_buffer), fmt, ap);
va_end(ap);