summaryrefslogtreecommitdiffstats
path: root/src/ninja.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-12-05 19:53:33 (GMT)
committerEvan Martin <martine@danga.com>2011-12-05 20:59:38 (GMT)
commit3d17415c4672348d0892e71b15d850a66f95a095 (patch)
tree3f81edc755a5a286a240c1ea510a3f2d0800a9f3 /src/ninja.cc
parent3b9f727e2b8f04d5f0cac4ede5149a0beceef019 (diff)
downloadNinja-3d17415c4672348d0892e71b15d850a66f95a095.zip
Ninja-3d17415c4672348d0892e71b15d850a66f95a095.tar.gz
Ninja-3d17415c4672348d0892e71b15d850a66f95a095.tar.bz2
disable the 'unused parameter' warning
It was firing too often, and hadn't uncovered any bugs.
Diffstat (limited to 'src/ninja.cc')
-rw-r--r--src/ninja.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc
index 8125c98..a46980e 100644
--- a/src/ninja.cc
+++ b/src/ninja.cc
@@ -367,7 +367,7 @@ int CmdTargets(State* state, int argc, char* argv[]) {
}
}
-int CmdRules(State* state, int /* argc */, char* /* argv */[]) {
+int CmdRules(State* state, int argc, char* /* argv */[]) {
for (map<string, const Rule*>::iterator i = state->rules_.begin();
i != state->rules_.end(); ++i) {
if (i->second->description_.unparsed_.empty()) {