[account.cpp] remove unused static var

This commit is contained in:
Christopher Lam committed 2026-01-27 23:43:44 +08:00
1 parent dfe7295a08
commit d64c8c8d59
1 file changed
-3
-3
View File
@@ -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"});
}