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/graph.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/graph.cc')
-rw-r--r-- | src/graph.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.cc b/src/graph.cc index 2cdba80..d881280 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -203,8 +203,8 @@ bool Edge::LoadDepFile(State* state, DiskInterface* disk_interface, // Check that this depfile matches our output. StringPiece opath = StringPiece(outputs_[0]->file_->path_); if (opath != makefile.out_) { - *err = "expected makefile to mention '" + outputs_[0]->file_->path_ + "', " - "got '" + makefile.out_.AsString() + "'"; + *err = "expected depfile '" + path + "' to mention '" + + outputs_[0]->file_->path_ + "', got '" + makefile.out_.AsString() + "'"; return false; } |