[account.cpp] remove unused static var

pull/2176/head
Christopher Lam 1 month ago
parent dfe7295a08
commit d64c8c8d59

@ -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"});
}

Loading…
Cancel
Save