summaryrefslogtreecommitdiff
path: root/src/xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 06:48:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 06:48:49 -0500
commit5ef50f88779c9fb02e8c762bea9c7622464153b8 (patch)
tree30ab571e83ac915db39cddaf2d1eb8d7f2c37261 /src/xact.cc
parentdc2c2c98d41609d5b18f57b97e74ea48e62f8508 (diff)
downloadfork-ledger-5ef50f88779c9fb02e8c762bea9c7622464153b8.tar.gz
fork-ledger-5ef50f88779c9fb02e8c762bea9c7622464153b8.tar.bz2
fork-ledger-5ef50f88779c9fb02e8c762bea9c7622464153b8.zip
Removed excessive validity check from xact_t::valid
Diffstat (limited to 'src/xact.cc')
-rw-r--r--src/xact.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xact.cc b/src/xact.cc
index 34b8c340..3670cb94 100644
--- a/src/xact.cc
+++ b/src/xact.cc
@@ -457,10 +457,6 @@ bool xact_t::valid() const
DEBUG("ledger.validate", "xact_t: ! _date");
return false;
}
- if (! has_flags(ITEM_GENERATED | ITEM_TEMP) && ! journal) {
- DEBUG("ledger.validate", "xact_t: ! journal");
- return false;
- }
foreach (post_t * post, posts)
if (post->xact != this || ! post->valid()) {