projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
ec51dde
)
Merge pull request #2772 from rubenk/static-initializers
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 14 May 2018 12:52:04 +0000
(14:52 +0200)
committer
GitHub
<noreply@github.com>
Mon, 14 May 2018 12:52:04 +0000
(14:52 +0200)
Don't initialize static pointers to NULL
src/daemon/collectd.c
patch
|
blob
|
history
diff --git
a/src/daemon/collectd.c
b/src/daemon/collectd.c
index
d15bb33
..
a656b37
100644
(file)
--- a/
src/daemon/collectd.c
+++ b/
src/daemon/collectd.c
@@
-489,7
+489,6
@@
static void read_cmdline(int argc, char **argv, struct cmdline_config *config) {
#endif /* COLLECT_DAEMON */
case 'h':
exit_usage(0);
- break;
default:
exit_usage(1);
} /* switch (c) */