gnucash stable: [gnc-pricedb.cpp] use forloop instead of do..while and while

Christopher Lam clam at code.gnucash.org
Fri Aug 4 08:33:42 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/6b741ddf (commit)
	from  https://github.com/Gnucash/gnucash/commit/ce6bdc2c (commit)



commit 6b741ddf320cbab9bc2953523e6d12cb02f66a8f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 2 08:34:13 2023 +0800

    [gnc-pricedb.cpp] use forloop instead of do..while and while
    
    because they're scanning GLists, and forloop is tidier than while



Summary of changes:
 libgnucash/engine/gnc-pricedb.cpp | 63 +++++++++++++--------------------------
 1 file changed, 21 insertions(+), 42 deletions(-)



More information about the gnucash-patches mailing list