[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove an unused variable; part of mingw64 patch from yayooo
commit 5e096b677097a24a2ab72385cd9b87b148fd5b62
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits