projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't initialize static pointers to NULL
[collectd.git]
/
src
/
collectdmon.c
diff --git
a/src/collectdmon.c
b/src/collectdmon.c
index
9040f8d
..
6c19889
100644
(file)
--- a/
src/collectdmon.c
+++ b/
src/collectdmon.c
@@
-74,7
+74,7
@@
static int loop = 0;
static int restart = 0;
static int loop = 0;
static int restart = 0;
-static const char *pidfile
= NULL
;
+static const char *pidfile;
static pid_t collectd_pid = 0;
__attribute__((noreturn)) static void exit_usage(const char *name) {
static pid_t collectd_pid = 0;
__attribute__((noreturn)) static void exit_usage(const char *name) {
@@
-386,5
+386,3
@@
int main(int argc, char **argv) {
free(collectd_argv);
return 0;
} /* main */
free(collectd_argv);
return 0;
} /* main */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */