summaryrefslogtreecommitdiffstats
path: root/src/subprocess.cc
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-11-19 15:13:48 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2011-11-19 18:35:32 (GMT)
commit73b24b00cc670b2f879d1468fac3670158e42255 (patch)
treed58e1868ece7dc25cc6629034a1b84a4c94fa9e7 /src/subprocess.cc
parent68c5917bf994d7e32b30a5b6df4bbda0189a4017 (diff)
downloadNinja-73b24b00cc670b2f879d1468fac3670158e42255.zip
Ninja-73b24b00cc670b2f879d1468fac3670158e42255.tar.gz
Ninja-73b24b00cc670b2f879d1468fac3670158e42255.tar.bz2
Add -Wextra warning flag.
Fix triggered warnings: - unused parameter - type qualifiers ignored on function return type - missing initializer for member
Diffstat (limited to 'src/subprocess.cc')
-rw-r--r--src/subprocess.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/subprocess.cc b/src/subprocess.cc
index 74eded0..da93b1f 100644
--- a/src/subprocess.cc
+++ b/src/subprocess.cc
@@ -37,7 +37,7 @@ Subprocess::~Subprocess() {
Finish();
}
-bool Subprocess::Start(SubprocessSet* set, const string& command) {
+bool Subprocess::Start(SubprocessSet* /* set */, const string& command) {
int output_pipe[2];
if (pipe(output_pipe) < 0)
Fatal("pipe: %s", strerror(errno));