(cppcheck) Remove redundant null check

Patch by Aurimas Fišeras.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21199 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2011-08-21 19:42:23 +00:00
parent 4c643a3435
commit 73e9f51253

View File

@ -302,7 +302,7 @@ book_sxlist_notsaved(const QofCollection *col)
sxl = gnc_collection_get_schedxactions(col);
if (!sxl) return FALSE;
if ((sxl && sxl->sx_notsaved)) return TRUE;
if (sxl->sx_notsaved) return TRUE;
for (sxlist = sxl->sx_list;
sxlist != NULL;