Remove unused variable

This commit is contained in:
dmiller 2026-05-04 17:42:09 +00:00
parent b637304542
commit 7a0c8b890b

View file

@ -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);
}