mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Don't CHECK in a getter function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3114 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e337d684cb
commit
923f9e2107
@ -982,14 +982,12 @@ xaccAccountSetCurrencySCU (Account * acc, int scu) {
|
||||
int
|
||||
xaccAccountGetCurrencySCU (Account * acc) {
|
||||
if (!acc) return 0;
|
||||
CHECK (acc);
|
||||
return acc->currency_scu;
|
||||
}
|
||||
|
||||
int
|
||||
xaccAccountGetSecuritySCU (Account * acc) {
|
||||
if (!acc) return 0;
|
||||
CHECK (acc);
|
||||
return acc->security_scu;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user