mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Remove an unused variable; part of mingw64 patch from yayooo
This commit is contained in:
parent
9dee6b1dce
commit
5e096b6770
@ -429,7 +429,6 @@ tor_vasprintf(char **strp, const char *fmt, va_list args)
|
||||
/* On Windows, _vsnprintf won't tell us the length of the string if it
|
||||
* overflows, so we need to use _vcsprintf to tell how much to allocate */
|
||||
int len, r;
|
||||
char *res;
|
||||
len = _vscprintf(fmt, args);
|
||||
if (len < 0) {
|
||||
*strp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user