projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
No need to initialize static bools to false
[collectd.git]
/
src
/
libcollectdclient
/
network_buffer.c
diff --git
a/src/libcollectdclient/network_buffer.c
b/src/libcollectdclient/network_buffer.c
index
755d476
..
07d3e76
100644
(file)
--- a/
src/libcollectdclient/network_buffer.c
+++ b/
src/libcollectdclient/network_buffer.c
@@
-125,7
+125,7
@@
struct lcc_network_buffer_s {
*/
static bool have_gcrypt(void) /* {{{ */
{
- static bool result
= 0
;
+ static bool result;
static bool need_init = 1;
if (!need_init)