summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 05:37:37 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:52 -0400
commit023f28630f7ed8f845eab00b137d58cc79b4445b (patch)
treee48c55fa1e87f5b34c00cbca7aac334c97c9e7f0 /src/main.cc
parent52822604713b73160ac497bc170eb45d9a594306 (diff)
downloadledger-023f28630f7ed8f845eab00b137d58cc79b4445b.tar.gz
ledger-023f28630f7ed8f845eab00b137d58cc79b4445b.tar.bz2
ledger-023f28630f7ed8f845eab00b137d58cc79b4445b.zip
Changed xpath to use the new copy-on-write value_t.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index 13b02290..d50137b6 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -301,8 +301,7 @@ static int read_and_report(ledger::report_t * report, int argc, char * argv[],
INFO_START(command, "Did user command '" << verb << "'");
- value_t temp;
- command(temp, locals.get());
+ command(locals.get());
INFO_FINISH(command);