mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-25 23:50:06 -05:00
[account.cpp] remove unused static var
This commit is contained in:
1 parent
dfe7295a08
commit
d64c8c8d59
1 file changed
-3
@@ -4798,13 +4798,10 @@ dxaccAccountSetPriceSrc(Account *acc, const char *src)
|
||||
const char*
|
||||
dxaccAccountGetPriceSrc(const Account *acc)
|
||||
{
|
||||
static char *source = nullptr;
|
||||
if (!acc) return nullptr;
|
||||
|
||||
if (!xaccAccountIsPriced(acc)) return nullptr;
|
||||
|
||||
g_free (source);
|
||||
|
||||
return get_kvp_string_path (acc, {"old-price-source"});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user