[tor-commits] [tor/master] Remove an unused variable; part of mingw64 patch from yayooo

nickm at torproject.org nickm at torproject.org
Fri Dec 7 19:16:51 UTC 2012


commit 5e096b677097a24a2ab72385cd9b87b148fd5b62
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Nov 2 14:03:32 2012 -0400

    Remove an unused variable; part of mingw64 patch from yayooo
---
 src/common/compat.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/common/compat.c b/src/common/compat.c
index 74585cd..2a4763c 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;





More information about the tor-commits mailing list