[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:41 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.

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.1796
retrieving revision 1.1797
diff -LChangeLog -LChangeLog -u -r1.1796 -r1.1797
--- 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.78
retrieving revision 1.79
diff -Lsrc/gnome/dialog-scheduledxaction.c -Lsrc/gnome/dialog-scheduledxaction.c -u -r1.78 -r1.79
--- src/gnome/dialog-scheduledxaction.c
+++ src/gnome/dialog-scheduledxaction.c
@@ -1057,11 +1057,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