Don't initialize static pointers to NULL
[collectd.git] / src / collectdmon.c
index 9040f8d..6c19889 100644 (file)
@@ -74,7 +74,7 @@
 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) {
@@ -386,5 +386,3 @@ int main(int argc, char **argv) {
   free(collectd_argv);
   return 0;
 } /* main */
-
-/* vim: set sw=4 ts=4 tw=78 noexpandtab : */