diff options
author | Evan Martin <martine@danga.com> | 2011-12-05 19:53:33 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-05 20:59:38 (GMT) |
commit | 3d17415c4672348d0892e71b15d850a66f95a095 (patch) | |
tree | 3f81edc755a5a286a240c1ea510a3f2d0800a9f3 /src/ninja.cc | |
parent | 3b9f727e2b8f04d5f0cac4ede5149a0beceef019 (diff) | |
download | Ninja-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.cc | 2 |
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()) { |