diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-16 05:38:01 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:52 -0400 |
commit | 8cdc8008c36bd03e44e43aef3fc84ff20df7bd34 (patch) | |
tree | b4efb59a6c41d22cbc7e651f8ce215e38e95bfc4 /src/main.cc | |
parent | 8a2b87e6e1f5cd8784130f3cfcd1911b214c55cc (diff) | |
download | fork-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.cc | 2 |
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) |