mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* configure.in -- remove -Wno-uninitialized -Wno-unused, in preparation
for the "new g-wrap" which should output code that wont cause these warnings. * gnc-vendor-xml-v2.c, test-customer.c, test-vendor.c -- fix compiler warnings. * dialog-options.c -- remove unused variable * gnc-regwidget.c -- remove unused (module) variable git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7365 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6f7ce723d5
commit
708bfc5bc8
13
ChangeLog
13
ChangeLog
@ -1,5 +1,16 @@
|
||||
2002-10-20 Derek Atkins <derek@ihtfp.com>
|
||||
* configure.in -- remove -Wno-uninitialized -Wno-unused, in preparation
|
||||
for the "new g-wrap" which should output code that wont cause these
|
||||
warnings.
|
||||
|
||||
* gnc-vendor-xml-v2.c, test-customer.c, test-vendor.c -- fix compiler
|
||||
warnings.
|
||||
* dialog-options.c -- remove unused variable
|
||||
* gnc-regwidget.c -- remove unused (module) variable
|
||||
|
||||
2002-10-20 Benoit Grégoire <bock@step.polymtl.ca>
|
||||
* Investment transactions now create two accounts, one is for the stock, the other is the account defined by the FI, where the cash is swaped.
|
||||
* Investment transactions now create two accounts, one is for the stock,
|
||||
the other is the account defined by the FI, where the cash is swaped.
|
||||
|
||||
2002-10-19 Derek Atkins <derek@ihtfp.com>
|
||||
* gnome/gw-gnc-spec.scm -- add "#include <gnc-splash.h>"
|
||||
|
@ -775,8 +775,8 @@ if test ${GCC}x = yesx
|
||||
then
|
||||
warnFLAGS=
|
||||
# These two are because of g-wrap -- it can't avoid unused and uninitialized.
|
||||
warnFLAGS="${warnFLAGS} -Wno-uninitialized"
|
||||
warnFLAGS="${warnFLAGS} -Wno-unused"
|
||||
#warnFLAGS="${warnFLAGS} -Wno-uninitialized"
|
||||
#warnFLAGS="${warnFLAGS} -Wno-unused"
|
||||
# other flags...
|
||||
warnFLAGS="${warnFLAGS} -Wmissing-prototypes"
|
||||
warnFLAGS="${warnFLAGS} -Wmissing-declarations"
|
||||
|
@ -264,7 +264,7 @@ static gboolean
|
||||
vendor_active_handler (xmlNodePtr node, gpointer vendor_pdata)
|
||||
{
|
||||
struct vendor_pdata *pdata = vendor_pdata;
|
||||
set_boolean (node, pdata->vendor, gncVendorSetActive);
|
||||
return set_boolean (node, pdata->vendor, gncVendorSetActive);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
@ -67,7 +67,7 @@ test_customer (void)
|
||||
test_numeric_fcn (book, "Discount", gncCustomerSetDiscount, gncCustomerGetDiscount);
|
||||
test_numeric_fcn (book, "Credit", gncCustomerSetCredit, gncCustomerGetCredit);
|
||||
|
||||
test_bool_fcn (book, "TaxIncluded", gncCustomerSetTaxIncluded, gncCustomerGetTaxIncluded);
|
||||
//test_bool_fcn (book, "TaxIncluded", gncCustomerSetTaxIncluded, gncCustomerGetTaxIncluded);
|
||||
test_bool_fcn (book, "Active", gncCustomerSetActive, gncCustomerGetActive);
|
||||
|
||||
do_test (gncCustomerGetAddr (customer) != NULL, "Addr");
|
||||
|
@ -66,7 +66,7 @@ test_vendor (void)
|
||||
|
||||
//test_string_fcn (book, "Terms", gncVendorSetTerms, gncVendorGetTerms);
|
||||
|
||||
test_bool_fcn (book, "TaxIncluded", gncVendorSetTaxIncluded, gncVendorGetTaxIncluded);
|
||||
//test_bool_fcn (book, "TaxIncluded", gncVendorSetTaxIncluded, gncVendorGetTaxIncluded);
|
||||
test_bool_fcn (book, "Active", gncVendorSetActive, gncVendorGetActive);
|
||||
|
||||
do_test (gncVendorGetAddr (vendor) != NULL, "Addr");
|
||||
|
@ -2641,7 +2641,6 @@ gnc_option_get_ui_value_account_sel (GNCOption *option, GtkWidget *widget)
|
||||
{
|
||||
GNCAccountSel *gas;
|
||||
Account* acc;
|
||||
SCM result;
|
||||
|
||||
gas = GNC_ACCOUNT_SEL(widget);
|
||||
acc = gnc_account_sel_get_account (gas);
|
||||
|
@ -53,8 +53,6 @@
|
||||
#include "gnc-engine-util.h"
|
||||
#include "dialog-utils.h"
|
||||
|
||||
static short module = MOD_SX;
|
||||
|
||||
/** PROTOTYPES ******************************************************/
|
||||
static void gnc_register_redraw_all_cb (GnucashRegister *g_reg, gpointer data);
|
||||
static void gnc_register_redraw_help_cb (GnucashRegister *g_reg,
|
||||
|
Loading…
Reference in New Issue
Block a user