mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/import-export/hbci/gnc-hbci-utils.c: you have to declare
your variables before you g_assert() anything. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8298 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
33d7497d80
commit
8f1702d627
@ -1,3 +1,8 @@
|
|||||||
|
2003-05-11 Derek Atkins <derek@ihtfp.com>
|
||||||
|
|
||||||
|
* src/import-export/hbci/gnc-hbci-utils.c: you have to declare
|
||||||
|
your variables before you g_assert() anything.
|
||||||
|
|
||||||
2003-05-10 David Hampton <hampton@employees.org>
|
2003-05-10 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
* src/backend/file/gnc-commodity-xml-v2.c:
|
* src/backend/file/gnc-commodity-xml-v2.c:
|
||||||
|
@ -207,8 +207,8 @@ get_resultcode_error_cb (int value, void *user_data)
|
|||||||
static int
|
static int
|
||||||
get_resultcode_error (const list_int *list)
|
get_resultcode_error (const list_int *list)
|
||||||
{
|
{
|
||||||
g_assert (list);
|
|
||||||
int tmp_result = 0, cause = 0;
|
int tmp_result = 0, cause = 0;
|
||||||
|
g_assert (list);
|
||||||
cause = (int) list_int_foreach (list, &get_resultcode_error_cb, &tmp_result);
|
cause = (int) list_int_foreach (list, &get_resultcode_error_cb, &tmp_result);
|
||||||
return MAX(tmp_result, cause);
|
return MAX(tmp_result, cause);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user