]> git.refcnt.org Git - colorize.git/commitdiff
Use NULL in long options data initialization
authorSteven Schubiger <stsc@refcnt.org>
Tue, 5 Nov 2013 14:31:22 +0000 (15:31 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Tue, 5 Nov 2013 14:31:22 +0000 (15:31 +0100)
colorize.c

index 67a48612d6cac55a3e032512d73759cc8f325f15..2b9e5fe05bd54bf893e8a3201fcc53b938e3d439 100644 (file)
@@ -230,7 +230,7 @@ main (int argc, char **argv)
         { "exclude-random", required_argument, &opt_type, OPT_EXCLUDE_RANDOM },
         { "help",           no_argument,       &opt_type, OPT_HELP           },
         { "version",        no_argument,       &opt_type, OPT_VERSION        },
-        {  0,               0,                 0,         0                  },
+        {  NULL,            0,                 NULL,      0                  },
     };
 
     bool bold = false;