mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-07-29 23:58:03 -05:00
Fixed Tim Wunder's compilation problems [which my gcc isn't complaing about, but should :(].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7146 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1362,36 +1362,6 @@ _free_varBindings_hash_elts( gpointer key, gpointer value, gpointer data )
|
||||
g_free( value );
|
||||
}
|
||||
|
||||
static void
|
||||
_free_toCreateInst_list_elts( gpointer data, gpointer user_data )
|
||||
{
|
||||
toCreateInstance *tci = (toCreateInstance*)data;
|
||||
g_assert( tci->date );
|
||||
if ( tci->date ) {
|
||||
g_date_free( tci->date );
|
||||
}
|
||||
if ( tci->varBindings ) {
|
||||
g_hash_table_foreach( tci->varBindings,
|
||||
_free_varBindings_hash_elts,
|
||||
NULL );
|
||||
g_hash_table_destroy( tci->varBindings );
|
||||
tci->varBindings = NULL;
|
||||
}
|
||||
tci->parentTCT = NULL;
|
||||
tci->node = NULL;
|
||||
g_free( tci );
|
||||
}
|
||||
|
||||
static void
|
||||
_free_toCreate_list_elts( gpointer data, gpointer user_data )
|
||||
{
|
||||
toCreateTuple *tct = (toCreateTuple*)data;
|
||||
tct->sx = NULL;
|
||||
g_list_foreach( tct->instanceList, _free_toCreateInst_list_elts, NULL );
|
||||
g_list_free( tct->instanceList );
|
||||
g_free( tct );
|
||||
}
|
||||
|
||||
static void
|
||||
process_auto_create_list( GList *autoCreateList, sxSinceLastData *sxsld )
|
||||
{
|
||||
@@ -2024,10 +1994,10 @@ create_each_transaction_helper( Transaction *t, void *d )
|
||||
|
||||
for ( ; sList && osList ;
|
||||
sList = sList->next, osList = osList->next ) {
|
||||
split = (Split*)sList->data;
|
||||
|
||||
Account *acct;
|
||||
|
||||
split = (Split*)sList->data;
|
||||
|
||||
/* FIXME: Ick. This assumes that the split lists will be
|
||||
ordered identically. :( I think it's fair to say they
|
||||
will, but I'd rather not have to count on it. --jsled */
|
||||
|
||||
Reference in New Issue
Block a user