From f1289be2be39a408a09eeb91b524f78405799dbc Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Tue, 5 Nov 2013 15:31:22 +0100 Subject: Use NULL in long options data initialization --- colorize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorize.c b/colorize.c index 67a4861..2b9e5fe 100644 --- a/colorize.c +++ b/colorize.c @@ -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; -- cgit v1.2.3