mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
(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:
parent
4c643a3435
commit
73e9f51253
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user