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 <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2014-05-12 00:27:37 +02:00
parent 4753ae8728
commit 8f90cd23c1

View File

@ -451,9 +451,6 @@ class RGWUserStatsCache : public RGWQuotaCache<string> {
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;