summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-19 08:09:17 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-19 08:09:17 -0400
commit5b5d6ac0ce261be5987b4edbaa5e7b23b6375f38 (patch)
tree4ab6f43a39f5f1d43f28b845491f2b1ff476a980 /src
parent1edb531c051712f8c65eea24386ebe5c6ae5ddb5 (diff)
downloadfork-ledger-5b5d6ac0ce261be5987b4edbaa5e7b23b6375f38.tar.gz
fork-ledger-5b5d6ac0ce261be5987b4edbaa5e7b23b6375f38.tar.bz2
fork-ledger-5b5d6ac0ce261be5987b4edbaa5e7b23b6375f38.zip
Removed unneeded NULL argument.
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 6b6f814e..78ae327e 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -118,7 +118,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL)
try {
// The account will be determined later...
- std::auto_ptr<xact_t> xact(new xact_t(NULL));
+ std::auto_ptr<xact_t> xact(new xact_t);
if (entry)
xact->entry = entry;