gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sat Jun 17 21:03:13 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/241aa1d2 (commit)
via https://github.com/Gnucash/gnucash/commit/3abc9a55 (commit)
from https://github.com/Gnucash/gnucash/commit/aae568ec (commit)
commit 241aa1d2ebc59454c3406961f62311642ac4e27a
Merge: aae568eca6 3abc9a5558
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jun 17 17:58:53 2023 -0700
Merge Richard Cohen's 'remove-unneeded-memcpy' into stable.
commit 3abc9a5558b8ed2706fdf277fdc699cb2b6abae0
Author: Richard Cohen <richard at daijobu.co.uk>
Date: Tue Feb 7 16:48:17 2023 +0000
Refactor: Remove some unnecessary uses of memcpy
- Also, remove unnecessary "static" in gnucash-style.c
The second one in guid.cpp is UB:
libgnucash/engine/guid.cpp:137:5: warning: undefined behavior, source object type 'const gnc::GUID' is not TriviallyCopyable [bugprone-undefined-memory-manipulation]
memcpy (&target, &source, sizeof (GncGUID));
^
Summary of changes:
CMakeLists.txt | 1 -
common/config.h.cmake.in | 3 ---
gnucash/gnome-utils/gnc-autoclear.c | 8 ++++----
gnucash/register/register-gnome/gnucash-style.c | 8 +++-----
libgnucash/backend/sql/gnc-slots-sql.cpp | 2 +-
libgnucash/backend/sql/gnc-sql-column-table-entry.cpp | 2 +-
libgnucash/engine/SchedXaction.c | 4 ++--
libgnucash/engine/gncOwner.c | 3 +--
libgnucash/engine/guid.cpp | 5 +++--
libgnucash/engine/qofquery.cpp | 6 +++---
10 files changed, 18 insertions(+), 24 deletions(-)
More information about the gnucash-patches
mailing list