aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-02 14:03:32 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-02 14:03:32 -0400
commit5e096b677097a24a2ab72385cd9b87b148fd5b62 (patch)
tree420e3cf71ecb4e1922a7e21901ed07214aab0cd2 /src
parent9dee6b1dced7c05c1b9e291cad06f646a7397d42 (diff)
downloadtor-5e096b677097a24a2ab72385cd9b87b148fd5b62.tar
tor-5e096b677097a24a2ab72385cd9b87b148fd5b62.tar.gz
Remove an unused variable; part of mingw64 patch from yayooo
Diffstat (limited to 'src')
-rw-r--r--src/common/compat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 74585cd61..2a4763c0f 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;