]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove an unused variable; part of mingw64 patch from yayooo
authorNick Mathewson <nickm@torproject.org>
Fri, 2 Nov 2012 18:03:32 +0000 (14:03 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 2 Nov 2012 18:03:32 +0000 (14:03 -0400)
src/common/compat.c

index 74585cd614fb52ac31f0397f06ca31b3b2233761..2a4763c0fc71429844f6de1a6fbdcb902bbb322b 100644 (file)
@@ -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;