mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
To fix build error: ISO C90 forbids mixed declarations and code
This commit is contained in:
parent
39849b8a60
commit
b7b8f6f5a7
@ -796,12 +796,14 @@ gnc_query_view_fill (GNCQueryView *qview)
|
||||
{
|
||||
gboolean result;
|
||||
GNCSearchParamSimple *param = node->data;
|
||||
g_assert (GNC_IS_SEARCH_PARAM_SIMPLE (param));
|
||||
GSList *converters = gnc_search_param_get_converters (param);
|
||||
GSList *converters = NULL;
|
||||
const char *type = gnc_search_param_get_param_type ((GNCSearchParam *) param);
|
||||
gpointer res = item->data;
|
||||
gchar *qofstring;
|
||||
|
||||
g_assert (GNC_IS_SEARCH_PARAM_SIMPLE (param));
|
||||
converters = gnc_search_param_get_converters (param);
|
||||
|
||||
/* Test for boolean type */
|
||||
if (g_strcmp0 (type, QOF_TYPE_BOOLEAN) == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user