mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Remove a redundant va_start/va_end pair.
Found while checking how many places use va_copy.
This commit is contained in:
parent
a54f3d9035
commit
2cbb7cb0c8
1 changed files with 0 additions and 2 deletions
|
@ -383,9 +383,7 @@ Qprintf (QFile *file, const char *fmt, ...)
|
|||
if (!buf)
|
||||
buf = dstring_new ();
|
||||
|
||||
va_start (args, fmt);
|
||||
dvsprintf (buf, fmt, args);
|
||||
va_end (args);
|
||||
ret = strlen (buf->str);
|
||||
if (ret > 0)
|
||||
ret = gzwrite (file->gzfile, buf, (unsigned) ret);
|
||||
|
|
Loading…
Reference in a new issue