gnucash stable: avoid strlen where possible
Christopher Lam
clam at code.gnucash.org
Wed Nov 1 10:45:08 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/d617129d (commit)
from https://github.com/Gnucash/gnucash/commit/f30fcc2a (commit)
commit d617129db83b37cc12b3c2434c55e73efb4d98d6
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Wed Nov 1 20:57:05 2023 +0800
avoid strlen where possible
if testing emptiness, test *str instead.
Summary of changes:
libgnucash/backend/xml/gnc-account-xml-v2.cpp | 4 ++--
libgnucash/backend/xml/gnc-address-xml-v2.cpp | 2 +-
libgnucash/backend/xml/gnc-commodity-xml-v2.cpp | 8 +++-----
libgnucash/backend/xml/gnc-employee-xml-v2.cpp | 2 +-
libgnucash/backend/xml/gnc-entry-xml-v2.cpp | 2 +-
libgnucash/backend/xml/gnc-invoice-xml-v2.cpp | 2 +-
libgnucash/backend/xml/gnc-order-xml-v2.cpp | 2 +-
libgnucash/backend/xml/gnc-pricedb-xml-v2.cpp | 4 ++--
libgnucash/backend/xml/gnc-xml-backend.cpp | 2 +-
libgnucash/backend/xml/xml-helpers.h | 2 +-
10 files changed, 14 insertions(+), 16 deletions(-)
More information about the gnucash-patches
mailing list