Clean up warnings (#6325)

This commit is contained in:
Igor Moura
2020-10-30 12:50:29 -03:00
committed by GitHub
parent f0fe18fc28
commit 5e1e972aea
16 changed files with 53 additions and 61 deletions

View File

@@ -421,7 +421,7 @@ class BatchIterator {
return *(*impl_);
}
bool operator!=(const BatchIterator& rhs) const {
bool operator!=(const BatchIterator&) const {
CHECK(impl_ != nullptr);
return !impl_->AtEnd();
}

View File

@@ -117,7 +117,7 @@ class Predictor {
*
* \param cfg The configuration.
*/
virtual void Configure(const std::vector<std::pair<std::string, std::string>>& cfg);
virtual void Configure(const std::vector<std::pair<std::string, std::string>>&);
/**
* \brief Generate batch predictions for a given feature matrix. May use