diff options
author | teor <teor2345@gmail.com> | 2015-06-03 03:48:46 +1000 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2015-06-03 04:19:05 +1000 |
commit | 2b73dbf2a4c2fcf42fdd2987b3fa72efdec3a222 (patch) | |
tree | 00e6dfe6c07f63a5603ab4ee62f0ffaff67a653e /src/or/rendcommon.c | |
parent | b3f79da0d589157948262d4a5c81969da789c0c4 (diff) | |
download | tor-2b73dbf2a4c2fcf42fdd2987b3fa72efdec3a222.tar.gz tor-2b73dbf2a4c2fcf42fdd2987b3fa72efdec3a222.zip |
Always initialise return value in compute_desc_id in rendcommon.c
Fix on e6a581f126ba, released in 0.2.7.1-alpha.
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index ec4353c409..0acca58713 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -1417,7 +1417,7 @@ rend_data_dup(const rend_data_t *data) static int compute_desc_id(rend_data_t *rend_data) { - int ret; + int ret = 0; unsigned replica; time_t now = time(NULL); |