diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-24 03:08:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-24 03:08:44 +0000 |
commit | d76b2a4ec00c3db5e9a961e221a882b0ac53dd25 (patch) | |
tree | c615b3556771f2994a5cffa6d08d9bd4a1850478 /src/or/hibernate.c | |
parent | bf1014692f9aea062f10df525ba39115ef890776 (diff) | |
download | tor-d76b2a4ec00c3db5e9a961e221a882b0ac53dd25.tar.gz tor-d76b2a4ec00c3db5e9a961e221a882b0ac53dd25.zip |
r11688@Kushana: nickm | 2006-12-23 22:08:36 -0500
Fix "r may be used uninitialized" warning from last patch.
svn:r9177
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index d7968f721a..054511084c 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -542,7 +542,7 @@ accounting_record_bandwidth_usage(time_t now, or_state_t *state) char time2[ISO_TIME_LEN+1]; char *cp = buf; time_t tmp; - int r; + int r = 0; uint64_t expected; static time_t last_recorded; |