Browse Source

r14060@tombo: nickm | 2008-02-08 13:36:52 -0500
Fix warning in onion.c


svn:r13427

Nick Mathewson 16 years ago
parent
commit
5d250d3e1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/onion.c

+ 1 - 1
src/or/onion.c

@@ -436,7 +436,7 @@ fast_client_handshake(const char *handshake_state, /* DIGEST_LEN bytes */
   char tmp[DIGEST_LEN+DIGEST_LEN];
   char *out;
   size_t out_len;
-  int r;
+  int r = -1;
 
   memcpy(tmp, handshake_state, DIGEST_LEN);
   memcpy(tmp+DIGEST_LEN, handshake_reply_out, DIGEST_LEN);