diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build_test.cc | 2 | ||||
-rw-r--r-- | src/disk_interface_test.cc | 6 | ||||
-rw-r--r-- | src/test.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/build_test.cc b/src/build_test.cc index 9cfa6e1..ca8e87e 100644 --- a/src/build_test.cc +++ b/src/build_test.cc @@ -251,7 +251,7 @@ bool BuildTest::StartCommand(Edge* edge) { return true; } -Edge* BuildTest::WaitForCommand(bool* success, string* output) { +Edge* BuildTest::WaitForCommand(bool* success, string* /* output */) { if (Edge* edge = last_command_) { if (edge->rule_->name_ == "fail") *success = false; diff --git a/src/disk_interface_test.cc b/src/disk_interface_test.cc index 107726b..30fa4ca 100644 --- a/src/disk_interface_test.cc +++ b/src/disk_interface_test.cc @@ -163,15 +163,15 @@ struct StatTest : public StateTestWithBuiltinRules, public DiskInterface { // DiskInterface implementation. virtual int Stat(const string& path); - virtual bool MakeDir(const string& path) { + virtual bool MakeDir(const string& /* path */) { assert(false); return false; } - virtual string ReadFile(const string& path, string* err) { + virtual string ReadFile(const string& /* path */, string* /* err */) { assert(false); return ""; } - virtual int RemoveFile(const string& path) { + virtual int RemoveFile(const string& /* path */) { assert(false); return 0; } diff --git a/src/test.cc b/src/test.cc index 719cec3..24b68f6 100644 --- a/src/test.cc +++ b/src/test.cc @@ -51,7 +51,7 @@ bool VirtualFileSystem::MakeDir(const string& path) { return true; // success } -string VirtualFileSystem::ReadFile(const string& path, string* err) { +string VirtualFileSystem::ReadFile(const string& path, string* /* err */) { files_read_.push_back(path); FileMap::iterator i = files_.find(path); if (i != files_.end()) |