From: Ronen Friedman Date: Mon, 1 Jan 2024 07:11:41 +0000 (+0200) Subject: test/crush: removed unused code X-Git-Tag: v19.1.0~573^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3a8bff857e40256b6b3a7fd933265cfe409a46bc;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 2d87958b383c8..1f53084a70afb 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