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
/
hugepages.c
diff --git
a/src/hugepages.c
b/src/hugepages.c
index
9515046
..
23db25b
100644
(file)
--- a/
src/hugepages.c
+++ b/
src/hugepages.c
@@
-39,8
+39,8
@@
static bool g_flag_rpt_numa = 1;
static bool g_flag_rpt_mm = 1;
static bool g_values_pages = 1;
-static bool g_values_bytes
= 0
;
-static bool g_values_percent
= 0
;
+static bool g_values_bytes;
+static bool g_values_percent;
#define HP_HAVE_NR 0x01
#define HP_HAVE_SURPLUS 0x02