Fix a bunch of compiler warnings:

* Transaction-matcher.c: use "=" not "==" to set a variable
	* gncmod-generic-import.c: comment out unused variable "engine"
	* dialog-scheduledxaction.c: comment out unused function
	* gnc-splash.[ch]: change splash-update to take a const string


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7376 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-10-23 03:33:48 +00:00
parent c9739ad9f2
commit 3d6b0a55b9
6 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2002-10-22 Derek Atkins <derek@ihtfp.com>
Fix a bunch of compiler warnings:
* Transaction-matcher.c: use "=" not "==" to set a variable
* gncmod-generic-import.c: comment out unused variable "engine"
* dialog-scheduledxaction.c: comment out unused function
* gnc-splash.[ch]: change splash-update to take a const string
2002-10-22 Christian Stimming <stimming@tuhh.de>
* po/glossary/gnc-glossary.txt, po/glossary/*: Update glossary

View File

@ -1893,6 +1893,7 @@ putSchedXactionInDialog( gpointer data, gpointer user_data )
g_string_free( nextDate, TRUE );
}
#if notused
static
gncUIWidget
sxe_ledger_get_parent( GNCLedgerDisplay *ld )
@ -1902,6 +1903,7 @@ sxe_ledger_get_parent( GNCLedgerDisplay *ld )
sxed = gnc_ledger_display_get_user_data( ld );
return sxed->dialog;
}
#endif
/********************************************************************\
* gnc_register_check_close *

View File

@ -106,7 +106,7 @@ gnc_destroy_splash_screen (void)
}
void
gnc_update_splash_screen (gchar *string)
gnc_update_splash_screen (const gchar *string)
{
if (progress)
{

View File

@ -25,6 +25,6 @@
void gnc_show_splash_screen (void);
void gnc_destroy_splash_screen (void);
void gnc_update_splash_screen (gchar *string);
void gnc_update_splash_screen (const gchar *string);
#endif

View File

@ -177,7 +177,7 @@ if(transaction_info==matcher->selected_trans_info)
gnc_numeric_to_double(xaccSplitGetAmount(transaction_info->first_split)));
transaction_info->clist_text[DOWNLOADED_CLIST_AMOUNT]=transaction_info->amount_text;
transaction_info->clist_text[DOWNLOADED_CLIST_DESCRIPTION]==xaccTransGetDescription(transaction_info->trans);
transaction_info->clist_text[DOWNLOADED_CLIST_DESCRIPTION]=xaccTransGetDescription(transaction_info->trans);
transaction_info->clist_text[DOWNLOADED_CLIST_MEMO]=xaccSplitGetMemo(transaction_info->first_split);

View File

@ -19,7 +19,7 @@ int libgncmod_generic_import_LTX_gnc_module_current = 0;
int libgncmod_generic_import_LTX_gnc_module_revision = 0;
int libgncmod_generic_import_LTX_gnc_module_age = 0;
static GNCModule engine;
/*static GNCModule engine; NOTUSED */
/* forward references */
char *libgncmod_generic_import_LTX_gnc_module_path(void);