fix compiler warning (#4588)

This commit is contained in:
Rong Ou
2019-06-21 04:06:26 +08:00
committed by Jiaming Yuan
parent fdf27a5b82
commit 6125521caf
-2
View File
@@ -197,8 +197,6 @@ void TestBuildHist(bool use_shared_memory_histograms) {
gpair = GradientPair(grad, hess);
}
int num_symbols = shard.n_bins + 1;
thrust::host_vector<common::CompressedByteT> h_gidx_buffer (
shard.gidx_buffer.size());