mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Remove unused variable
This commit is contained in:
parent
b637304542
commit
7a0c8b890b
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue