gnucash maint: fix make pot warning

Frank H.Ellenberger fell at code.gnucash.org
Fri Dec 28 21:37:08 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/5d7ca8b5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/3466ce78 (commit)



commit 5d7ca8b556bc626d2be6f78152cc9de3e651c062
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Dec 29 03:08:48 2018 +0100

    fix make pot warning
    
    gnucash/gnome/gnc-split-reg2.c:921: warning: Empty msgid.  It is
    reserved by GNU gettext:

diff --git a/gnucash/gnome/gnc-split-reg2.c b/gnucash/gnome/gnc-split-reg2.c
index 807e439..8e88572 100644
--- a/gnucash/gnome/gnc-split-reg2.c
+++ b/gnucash/gnome/gnc-split-reg2.c
@@ -918,7 +918,7 @@ gnc_split_reg2_determine_account_pr (GNCSplitReg2 *gsr)
 
     /* Put up a warning dialog */
     args  = g_malloc (sizeof (dialog_args));
-    args->string = _(""); /* FIXME: No string for dialog. */
+    args->string = ""; /* FIXME: No string for dialog. */
     args->gsr = gsr;
     g_timeout_add (250, gsr2_determine_account_pr_dialog, args); /* 0.25 seconds */
 }



Summary of changes:
 gnucash/gnome/gnc-split-reg2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list