X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fzookeeper.c;fp=src%2Fzookeeper.c;h=89ec6d267dd9c98f7a6a1b3d0401578e4343bd65;hb=dc11a6e173863dafc99d85086fa0eff99ea4351a;hp=1eed1fb35d1b02281ea050cc12d9cffa250e2270;hpb=8101a5c5d1487bccf7922961ccb4dc54d92a761d;p=collectd.git diff --git a/src/zookeeper.c b/src/zookeeper.c index 1eed1fb3..89ec6d26 100644 --- a/src/zookeeper.c +++ b/src/zookeeper.c @@ -159,8 +159,7 @@ static int zookeeper_connect (void) static int zookeeper_query (char *buffer, size_t buffer_size) { - int sk = -1; - int status; + int sk, status; size_t buffer_fill; sk = zookeeper_connect();