From: Danny Al-Gaaf Date: Mon, 14 May 2018 21:08:06 +0000 (+0200) Subject: rgw/rgw_otp.cc: remove unused variable and trailing whitespaces X-Git-Tag: v14.0.1~984^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65d78fb588265580f2d62ba7cfbbdddf5281f915;p=ceph.git rgw/rgw_otp.cc: remove unused variable and trailing whitespaces Signed-off-by: Danny Al-Gaaf --- diff --git a/src/rgw/rgw_otp.cc b/src/rgw/rgw_otp.cc index c937cb4a29a5..570562158f12 100644 --- a/src/rgw/rgw_otp.cc +++ b/src/rgw/rgw_otp.cc @@ -119,12 +119,10 @@ public: RGWRados *store = info->store; - list unfiltered_keys; - int ret = store->list_raw_objects_next(no_filter, max, info->ctx, keys, truncated); if (ret < 0 && ret != -ENOENT) - return ret; + return ret; if (ret == -ENOENT) { if (truncated) *truncated = false;