summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-16 05:38:01 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:52 -0400
commit8cdc8008c36bd03e44e43aef3fc84ff20df7bd34 (patch)
treeb4efb59a6c41d22cbc7e651f8ce215e38e95bfc4 /src/main.cc
parent8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc (diff)
downloadfork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.gz
fork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.tar.bz2
fork-ledger-8cdc8008c36bd03e44e43aef3fc84ff20df7bd34.zip
Corrected problem with uninitialized value_t's.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index d50137b6..4fe41be2 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -216,8 +216,6 @@ static int read_and_report(ledger::report_t * report, int argc, char * argv[],
throw_(std::logic_error, "Failed to fork child process");
}
else if (status == 0) { // child
- const char *arg0;
-
// Duplicate pipe's reading end into stdin
status = dup2(pfd[0], STDIN_FILENO);
if (status == -1)