hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r794765 - in /hadoop/zookeeper/branches/branch-3.2: CHANGES.txt src/c/src/zookeeper.c
Date Thu, 16 Jul 2009 17:39:24 GMT
Author: fpj
Date: Thu Jul 16 17:39:24 2009
New Revision: 794765

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


Modified:
    hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
    hadoop/zookeeper/branches/branch-3.2/src/c/src/zookeeper.c

Modified: hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/CHANGES.txt?rev=794765&r1=794764&r2=794765&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/CHANGES.txt (original)
+++ hadoop/zookeeper/branches/branch-3.2/CHANGES.txt Thu Jul 16 17:39:24 2009
@@ -156,6 +156,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(). (chris via flavio)
+
 IMPROVEMENTS:
   ZOOKEEPER-308. improve the atomic broadcast performance 3x.
   (breed via mahadev)

Modified: hadoop/zookeeper/branches/branch-3.2/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/c/src/zookeeper.c?rev=794765&r1=794764&r2=794765&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/c/src/zookeeper.c (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/c/src/zookeeper.c Thu Jul 16 17:39:24 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