zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r794704 - in /hadoop/zookeeper/trunk: CHANGES.txt src/c/src/zookeeper.c
Date Thu, 16 Jul 2009 14:58:55 GMT
Author: fpj
Date: Thu Jul 16 14:58:55 2009
New Revision: 794704

URL: http://svn.apache.org/viewvc?rev=794704&view=rev
Log:
ZOOKEEPER-468. avoid compile warning in send_auth_info().


Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/c/src/zookeeper.c

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=794704&r1=794703&r2=794704&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Thu Jul 16 14:58:55 2009
@@ -171,6 +171,8 @@
   ZOOKEEPER-455. zookeeper c client crashes with chroot specified in the string.
   (phunt via mahadev)
 
+  ZOOKEEPER-468. avoid compile warning in send_auth_info().
+
 IMPROVEMENTS:
   ZOOKEEPER-308. improve the atomic broadcast performance 3x.
   (breed via mahadev)

Modified: hadoop/zookeeper/trunk/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/c/src/zookeeper.c?rev=794704&r1=794703&r2=794704&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/c/src/zookeeper.c (original)
+++ hadoop/zookeeper/trunk/src/c/src/zookeeper.c Thu Jul 16 14:58:55 2009
@@ -1119,7 +1119,7 @@
 
 /** send all auths, not just the last one **/
 static int send_auth_info(zhandle_t *zh) {
-    int rc;
+    int rc = 0;
     zoo_lock_auth(zh);
     auth_info *auth;
     auth = zh->auth_h.auth;



Mime
View raw message