summaryrefslogtreecommitdiff
path: root/src/stream.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-16 16:55:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-16 16:55:18 -0400
commitd0a664d102bb0886dbaf844b6857749f70702ea3 (patch)
tree4994ad85c9c743ed13346ba94daea47a389a9bfd /src/stream.cc
parent32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff)
downloadfork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz
fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2
fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip
Fixed several unused value and param warnings
Diffstat (limited to 'src/stream.cc')
-rw-r--r--src/stream.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stream.cc b/src/stream.cc
index cf85f2d4..2c255108 100644
--- a/src/stream.cc
+++ b/src/stream.cc
@@ -72,8 +72,6 @@ namespace {
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)