projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbi plugin: remove assignment with no effect
[collectd.git]
/
src
/
zookeeper.c
diff --git
a/src/zookeeper.c
b/src/zookeeper.c
index
1eed1fb
..
89ec6d2
100644
(file)
--- 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();