From 65d78fb588265580f2d62ba7cfbbdddf5281f915 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Mon, 14 May 2018 23:08:06 +0200 Subject: [PATCH] rgw/rgw_otp.cc: remove unused variable and trailing whitespaces Signed-off-by: Danny Al-Gaaf --- src/rgw/rgw_otp.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.47.3