Merge pull request #2772 from rubenk/static-initializers
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 14 May 2018 12:52:04 +0000 (14:52 +0200)
committerGitHub <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

index d15bb33..a656b37 100644 (file)
@@ -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) */