diff --git a/output.cc b/output.cc index aff3d96e4..1f1cbb5eb 100644 --- a/output.cc +++ b/output.cc @@ -912,7 +912,6 @@ void log_vwrite(int logt, const char *fmt, va_list ap) { int fileidx = 0; int l; int logtype; - va_list apcopy; for (logtype = 1; logtype <= LOG_MAX; logtype <<= 1) { @@ -958,7 +957,6 @@ void log_vwrite(int logt, const char *fmt, va_list ap) { if (rc != 1) { fatal("Failed to write %d bytes of data to (logt==%d) stream. fwrite returned %d. Quitting.", len, logtype, rc); } - va_end(apcopy); } free(writebuf); }