]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_quota.cc: remove unused variable 'key'
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 11 May 2014 22:27:37 +0000 (00:27 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sun, 11 May 2014 22:27:37 +0000 (00:27 +0200)
[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>
src/rgw/rgw_quota.cc

index 38328c9a5a27948b46b623b4abfbdb70571a3162..a48ce69890bdf34031808c239e42cb9f409c32b8 100644 (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;