From: Danny Al-Gaaf Date: Sun, 11 May 2014 22:27:37 +0000 (+0200) Subject: rgw_quota.cc: remove unused variable 'key' X-Git-Tag: v0.81~27^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f90cd23c1a144a43334a83a7cea42f8bf5faf2c;p=ceph.git rgw_quota.cc: remove unused variable 'key' [src/rgw/rgw_quota.cc:455]: (style) Variable 'key' is assigned a value that is never used. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 38328c9a5a27..a48ce69890bd 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -451,9 +451,6 @@ class RGWUserStatsCache : public RGWQuotaCache { void *entry() { ldout(cct, 20) << "UserSyncThread: start" << dendl; do { - - string key = "user"; - int ret = stats->sync_all_users(); if (ret < 0) { ldout(cct, 0) << "ERROR: sync_all_users() returned ret=" << ret << dendl;