From: Nick Mathewson Date: Fri, 2 Nov 2012 18:03:32 +0000 (-0400) Subject: Remove an unused variable; part of mingw64 patch from yayooo X-Git-Tag: tor-0.2.4.7-alpha~15^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e096b677097a24a2ab72385cd9b87b148fd5b62;p=thirdparty%2Ftor.git Remove an unused variable; part of mingw64 patch from yayooo --- diff --git a/src/common/compat.c b/src/common/compat.c index 74585cd614..2a4763c0fc 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -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;