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:
Dave Peticolas 2000-11-02 08:03:57 +00:00
parent e337d684cb
commit 923f9e2107

View File

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