mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Don't ignore the return value of glib list functions. This will
likely become a warning in future version of glib, which translates to an error for gnucash since it compiles with the -Werror flag. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12093 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1243,8 +1243,8 @@ void qof_query_set_book (QofQuery *q, QofBook *book)
|
||||
if (g_list_index (q->books, book) == -1)
|
||||
q->books = g_list_prepend (q->books, book);
|
||||
|
||||
g_slist_prepend (slist, QOF_PARAM_GUID);
|
||||
g_slist_prepend (slist, QOF_PARAM_BOOK);
|
||||
slist = g_slist_prepend (slist, QOF_PARAM_GUID);
|
||||
slist = g_slist_prepend (slist, QOF_PARAM_BOOK);
|
||||
qof_query_add_guid_match (q, slist,
|
||||
qof_book_get_guid(book), QOF_QUERY_AND);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user