* 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:
Derek Atkins 2003-05-11 16:14:38 +00:00
parent 33d7497d80
commit 8f1702d627
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* src/backend/file/gnc-commodity-xml-v2.c:

View File

@ -207,8 +207,8 @@ get_resultcode_error_cb (int value, void *user_data)
static int
get_resultcode_error (const list_int *list)
{
g_assert (list);
int tmp_result = 0, cause = 0;
g_assert (list);
cause = (int) list_int_foreach (list, &get_resultcode_error_cb, &tmp_result);
return MAX(tmp_result, cause);
}