From 6125521caf96d33493054b1808e1988cd2a69442 Mon Sep 17 00:00:00 2001 From: Rong Ou Date: Thu, 20 Jun 2019 13:06:26 -0700 Subject: [PATCH] fix compiler warning (#4588) --- tests/cpp/tree/test_gpu_hist.cu | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/cpp/tree/test_gpu_hist.cu b/tests/cpp/tree/test_gpu_hist.cu index 3aebc1d0f..39dd91165 100644 --- a/tests/cpp/tree/test_gpu_hist.cu +++ b/tests/cpp/tree/test_gpu_hist.cu @@ -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 h_gidx_buffer ( shard.gidx_buffer.size());