fix warnings

This commit is contained in:
Konstantin Käfer
2014-08-18 14:05:52 +02:00
parent 2076d3d97b
commit 5a59b5f5fc
7 changed files with 6 additions and 9 deletions

View File

@@ -17,7 +17,7 @@ const std::string &FileSource::getBase() const {
return base;
}
void FileSource::load(ResourceType type, const std::string &url, std::function<void(platform::Response *)> callback, const std::shared_ptr<uv::loop> loop) {
void FileSource::load(ResourceType /*type*/, const std::string &url, std::function<void(platform::Response *)> callback, const std::shared_ptr<uv::loop> loop) {
// convert relative URLs to absolute URLs
const std::string absoluteURL = [&]() -> std::string {