From: Ronen Friedman Date: Mon, 1 Jan 2024 07:11:41 +0000 (+0200) Subject: test/crush: removed unused code X-Git-Tag: v19.3.0~291^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55037%2Fhead;p=ceph.git test/crush: removed unused code to fix a compiler warning re unused variable. Signed-off-by: Ronen Friedman --- diff --git a/src/test/crush/crush.cc b/src/test/crush/crush.cc index 2d87958b383c..1f53084a70af 100644 --- a/src/test/crush/crush.cc +++ b/src/test/crush/crush.cc @@ -219,11 +219,6 @@ TEST_F(CRUSHTest, indep_out_progressive) { c->do_rule(0, x, out, 7, weight, 0); cout << "(" << i << "/" << weight.size() << " out) " << x << " -> " << out << std::endl; - int num_none = 0; - for (unsigned k=0; k