aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-04 14:57:03 +0000
committerYang Tse <yangsita@gmail.com>2008-09-04 14:57:03 +0000
commitc0f3e324479c6c0e66f0f45c43429041f5c5d34d (patch)
tree22d476212e3306df84a9e00c8892c2c4e411e4c6
parent8733e087d7ccfd4ce940bdd904cd0d667ecadbaa (diff)
remove duplicate va_start() call
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 17a564772..467fe0807 100644
--- a/src/main.c
+++ b/src/main.c
@@ -577,7 +577,6 @@ static void warnf(struct Configurable *config, const char *fmt, ...)
char print_buffer[256];
va_start(ap, fmt);
- va_start(ap, fmt);
len = vsnprintf(print_buffer, sizeof(print_buffer), fmt, ap);
va_end(ap);