gnucash maint: Remove superflous schema_source left over from pasting.

John Ralls jralls at code.gnucash.org
Tue Sep 28 20:17:55 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/29e7b07e (commit)
	from  https://github.com/Gnucash/gnucash/commit/d561cc61 (commit)



commit 29e7b07ed350daec1df43aa36bfc79446dfb24ff
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 28 17:17:23 2021 -0700

    Remove superflous schema_source left over from pasting.

diff --git a/libgnucash/app-utils/gnc-gsettings.cpp b/libgnucash/app-utils/gnc-gsettings.cpp
index 4476d7dc8..e7b0d5fb0 100644
--- a/libgnucash/app-utils/gnc-gsettings.cpp
+++ b/libgnucash/app-utils/gnc-gsettings.cpp
@@ -101,7 +101,7 @@ static GSettings * gnc_gsettings_get_settings_ptr (const gchar *schema_str)
 
     gset = static_cast<GSettings*> (g_hash_table_lookup (schema_hash, full_name));
     DEBUG ("Looking for schema %s returned gsettings %p", full_name, gset);
-    auto schema_source{g_settings_schema_source_get_default(                                                            )};
+
     if (!gset)
     {
         auto schema_source {g_settings_schema_source_get_default()};



Summary of changes:
 libgnucash/app-utils/gnc-gsettings.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list