gnucash unstable: Remove another gnc_pop_locale().

John Ralls jralls at code.gnucash.org
Sat Apr 14 16:11:35 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/4ba77f7b (commit)
	from  https://github.com/Gnucash/gnucash/commit/a04fd573 (commit)



commit 4ba77f7b09effb6c3d9aa749ccc3bdcda6e9df39
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Apr 14 13:11:23 2018 -0700

    Remove another gnc_pop_locale().

diff --git a/libgnucash/backend/dbi/gnc-dbisqlresult.cpp b/libgnucash/backend/dbi/gnc-dbisqlresult.cpp
index 3a4e495..a686fa4 100644
--- a/libgnucash/backend/dbi/gnc-dbisqlresult.cpp
+++ b/libgnucash/backend/dbi/gnc-dbisqlresult.cpp
@@ -147,7 +147,6 @@ GncDbiSqlResult::IteratorImpl::get_string_at_col(const char* col) const
     auto strval = dbi_result_get_string(m_inst->m_dbi_result, col);
     if (strval == nullptr)
     {
-        gnc_pop_locale (LC_NUMERIC);
         throw (std::invalid_argument{"Column empty."});
     }
     auto retval =  std::string{strval};



Summary of changes:
 libgnucash/backend/dbi/gnc-dbisqlresult.cpp | 1 -
 1 file changed, 1 deletion(-)



More information about the gnucash-changes mailing list