From: Patrick Donnelly Date: Fri, 2 Aug 2019 20:10:21 +0000 (-0700) Subject: common: correct variable name X-Git-Tag: v15.1.0~1563^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f513a67e903568ce9c407ea8e7d57e32584fac36;p=ceph.git common: correct variable name Signed-off-by: Patrick Donnelly --- diff --git a/src/common/DecayCounter.cc b/src/common/DecayCounter.cc index a0cf194216d80..9dd491188e305 100644 --- a/src/common/DecayCounter.cc +++ b/src/common/DecayCounter.cc @@ -29,8 +29,8 @@ void DecayCounter::decode(bufferlist::const_iterator &p) { DECODE_START_LEGACY_COMPAT_LEN(5, 4, 4, p); if (struct_v < 2) { - double half_life = 0.0; - decode(half_life, p); + double k = 0.0; + decode(k, p); } if (struct_v < 3) { double k = 0.0;