r22307 - gnucash/trunk/src/gnome - Fix compiler warning about 'static' not being first in a declaration

John Ralls jralls at code.gnucash.org
Sun Aug 12 19:21:00 EDT 2012


Author: jralls
Date: 2012-08-12 19:21:00 -0400 (Sun, 12 Aug 2012)
New Revision: 22307
Trac: http://svn.gnucash.org/trac/changeset/22307

Modified:
   gnucash/trunk/src/gnome/assistant-loan.c
Log:
Fix compiler warning about 'static' not being first in a declaration

Modified: gnucash/trunk/src/gnome/assistant-loan.c
===================================================================
--- gnucash/trunk/src/gnome/assistant-loan.c	2012-08-12 19:36:50 UTC (rev 22306)
+++ gnucash/trunk/src/gnome/assistant-loan.c	2012-08-12 23:21:00 UTC (rev 22307)
@@ -1775,7 +1775,7 @@
 loan_rev_prep( GtkAssistant *assistant, gpointer user_data )
 {
     /* 3, here, does not include the Date column. */
-    const static int BASE_COLS = 3;
+    static const int BASE_COLS = 3;
     LoanAssistantData *ldd = user_data;
     GtkListStore *store;
     GtkCellRenderer *renderer;



More information about the gnucash-changes mailing list