From 9bf79f4cf89c01ad0ed7b17033d649a7bee1ec90 Mon Sep 17 00:00:00 2001 From: Joshua Sled Date: Tue, 28 Feb 2006 23:13:33 +0000 Subject: [PATCH] Terminate GOptionEntry array, preventing warnings and/or errors parsing command-line options. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13427 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 6 ++++++ src/bin/gnucash-bin.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index e691b99949..5dbda42276 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-28 Joshua Sled + + * src/bin/gnucash-bin.c (gnucash_command_line): Terminate + GOptionEntry array, preventing warnings and/or errors parsing + command-line options. + 2006-02-28 David Hampton * configure.in: Set the GNOME_DISABLE_DEPRECATED flag for gnome diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c index f48bcbdf1e..0cfe4a86cc 100644 --- a/src/bin/gnucash-bin.c +++ b/src/bin/gnucash-bin.c @@ -300,6 +300,7 @@ gnucash_command_line(int *argc, char **argv) /* Translators: Argument description for autohelp; see http://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html */ _("REGEXP")}, + { NULL } }; /* Pretend that argv[0] is "gnucash" */