From 38fab287f76e0d136ae0736844b5d1112f640dbe Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 24 Sep 2014 09:17:33 +0200 Subject: [PATCH] avoid to use 0 instead of NULL --- src/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index e9ac03f..5ca03aa 100644 --- a/src/main.c +++ b/src/main.c @@ -372,12 +372,12 @@ static void log_init() } static struct option long_options[] = { - {"version", no_argument, 0, 'v'}, - {"help", no_argument, 0, 'h'}, - {"url", required_argument, 0, 'u'}, - {"debug", required_argument, 0, 'd'}, - {"new-instance", no_argument, 0, 'n'}, - {0, 0, 0, 0} + {"version", no_argument, NULL, 'v'}, + {"help", no_argument, NULL, 'h'}, + {"url", required_argument, NULL, 'u'}, + {"debug", required_argument, NULL, 'd'}, + {"new-instance", no_argument, NULL, 'n'}, + {NULL, 0, NULL, 0} }; static gboolean initial_window_show(gpointer data) -- 2.7.4