From 5dea8dfe5cda8a217dd2c1ac2bea424098257903 Mon Sep 17 00:00:00 2001 From: Oliver Lok Trevor Date: Tue, 28 Apr 2026 17:45:46 -0400 Subject: [PATCH] Removed unnecessary list reversal as per code review. Removed stray include. --- bindings/python/gnucash_core.i | 3 --- gnucash/gnome/dialog-sx-since-last-run.c | 1 - 2 files changed, 4 deletions(-) diff --git a/bindings/python/gnucash_core.i b/bindings/python/gnucash_core.i index 9303a4dc08..b328293f19 100644 --- a/bindings/python/gnucash_core.i +++ b/bindings/python/gnucash_core.i @@ -284,9 +284,6 @@ GNC_ACCEPT_WRAPPER(GncEntry) g_list_free($1); return NULL; } - - // Reverse list to preserve original order. - $1 = g_list_reverse($1); } } else { diff --git a/gnucash/gnome/dialog-sx-since-last-run.c b/gnucash/gnome/dialog-sx-since-last-run.c index d14f18e854..433c1184fa 100644 --- a/gnucash/gnome/dialog-sx-since-last-run.c +++ b/gnucash/gnome/dialog-sx-since-last-run.c @@ -35,7 +35,6 @@ #include #include #include -#include #include "dialog-utils.h" #include "gnc-sx-instance-model.h"