zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f..@apache.org
Subject svn commit: r1546227 - in /zookeeper/trunk: CHANGES.txt src/c/src/load_gen.c
Date Wed, 27 Nov 2013 23:22:03 GMT
Author: fpj
Date: Wed Nov 27 23:22:03 2013
New Revision: 1546227

URL: http://svn.apache.org/r1546227
Log:
ZOOKEEPER-1821. very ugly warning when compiling load_gen.c (german blanco via fpj)

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

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1546227&r1=1546226&r2=1546227&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Wed Nov 27 23:22:03 2013
@@ -480,6 +480,9 @@ BUGFIXES:
   ZOOKEEPER-1815. Tolerate incorrectly set system hostname in tests
   (some one via michim)
 
+  ZOOKEEPER-1821. very ugly warning when compiling load_gen.c
+  (german blanco via fpj)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

Modified: zookeeper/trunk/src/c/src/load_gen.c
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/c/src/load_gen.c?rev=1546227&r1=1546226&r2=1546227&view=diff
==============================================================================
--- zookeeper/trunk/src/c/src/load_gen.c (original)
+++ zookeeper/trunk/src/c/src/load_gen.c Wed Nov 27 23:22:03 2013
@@ -106,6 +106,7 @@ int doCreateNodes(const char* root, int 
         }
         if(rc!=ZOK) return rc;        
     }
+    return ZOK;
 }
 
 int createRoot(const char* root){
@@ -131,6 +132,7 @@ int doWrites(const char* root, int count
         rc=zoo_aset(zh, nodeName, "second", 6,-1,write_completion, 0);
         if(rc!=ZOK) return rc;        
     }
+    return ZOK;
 }
 
 void read_completion(int rc, const char *value, int value_len,
@@ -159,6 +161,7 @@ int doReads(const char* root, int count)
         rc=zoo_aget(zh, nodeName,0,read_completion, 0);
         if(rc!=ZOK) return rc;        
     }
+    return ZOK;
 }
 
 void delete_completion(int rc, const void *data) {
@@ -176,6 +179,7 @@ int doDeletes(const char* root, int coun
         rc=zoo_adelete(zh, nodeName,-1,delete_completion, 0);
         if(rc!=ZOK) return rc;        
     }
+    return ZOK;
 }
 
 static int free_String_vector(struct String_vector *v) {



Mime
View raw message