[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r9177: Fix "r may be used uninitialized" warning from last patch. (in tor/trunk: . src/or)



Author: nickm
Date: 2006-12-23 22:08:44 -0500 (Sat, 23 Dec 2006)
New Revision: 9177

Modified:
   tor/trunk/
   tor/trunk/src/or/hibernate.c
Log:
 r11688@Kushana:  nickm | 2006-12-23 22:08:36 -0500
 Fix "r may be used uninitialized" warning from last patch.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r11688] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/hibernate.c
===================================================================
--- tor/trunk/src/or/hibernate.c	2006-12-24 03:06:03 UTC (rev 9176)
+++ tor/trunk/src/or/hibernate.c	2006-12-24 03:08:44 UTC (rev 9177)
@@ -542,7 +542,7 @@
   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;