Reduce compile warnings (#6198)

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
vcarpani
2020-10-08 23:14:59 +08:00
committed by GitHub
co-authored by Hyunsu Cho
parent a4ce0eae43
commit 6bc9747df5
6 changed files with 40 additions and 21 deletions
+3
View File
@@ -72,6 +72,9 @@ class TreeUpdater : public Configurable {
*/
virtual bool UpdatePredictionCache(const DMatrix* data,
HostDeviceVector<bst_float>* out_preds) {
// Remove unused parameter compiler warning.
(void) data;
(void) out_preds;
return false;
}