[Gnucash-changes] This isn't C++; variable declaration must be at the top of a block.

Derek Atkins warlord at cvs.gnucash.org
Thu Apr 1 10:25:27 EST 2004


Log Message:
-----------
	This isn't C++; variable declaration must be at the top of a block.

	* src/gnome/dialog-scheduledxaction.c: Move variable declaration
	  to the top of the block.

Tags:
----
gnucash-1-8-branch

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/gnome:
        dialog-scheduledxaction.c

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1461.2.317
retrieving revision 1.1461.2.318
diff -LChangeLog -LChangeLog -u -r1.1461.2.317 -r1.1461.2.318
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,8 @@
+2004-04-01  Derek Atkins  <derek at ihtfp.com>
+
+	* src/gnome/dialog-scheduledxaction.c: Move variable declaration
+	  to the top of the block.
+
 2004-03-31  Derek Atkins  <derek at ihtfp.com>
 
 	* configure.in: move m4/Makefile to its own line
Index: dialog-scheduledxaction.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/dialog-scheduledxaction.c,v
retrieving revision 1.70.2.6
retrieving revision 1.70.2.7
diff -Lsrc/gnome/dialog-scheduledxaction.c -Lsrc/gnome/dialog-scheduledxaction.c -u -r1.70.2.6 -r1.70.2.7
--- src/gnome/dialog-scheduledxaction.c
+++ src/gnome/dialog-scheduledxaction.c
@@ -1063,11 +1063,12 @@
         {
                 FreqSpec *fs;
                 GDate gdate;
+		GString *str;
 
                 fs = xaccSchedXactionGetFreqSpec( sxed->sx );
                 gnc_frequency_save_state( sxed->gncfreq, fs, &gdate );
 
-                GString *str = g_string_new( "" );
+                str = g_string_new( "" );
                 xaccFreqSpecGetFreqStr( fs, str );
                 DEBUG( "fs: %s", str->str );
 


More information about the Gnucash-changes mailing list