From 47bae14ad7d373e4177a345f0473cb62d7c89190 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 22 Nov 2023 14:26:50 -0500 Subject: [PATCH] rgw/posix: fix unused variable warning ceph/src/rgw/driver/posix/rgw_sal_posix.cc:37:19: warning: unused variable 'MP_OBJ_PART_FMT' [-Wunused-const-variable] const std::string MP_OBJ_PART_FMT = "{:0>5}"; ^ Signed-off-by: Casey Bodley --- src/rgw/driver/posix/rgw_sal_posix.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/driver/posix/rgw_sal_posix.cc b/src/rgw/driver/posix/rgw_sal_posix.cc index fc48c4f8fa8c5..23f9f83dabc14 100644 --- a/src/rgw/driver/posix/rgw_sal_posix.cc +++ b/src/rgw/driver/posix/rgw_sal_posix.cc @@ -34,7 +34,6 @@ const std::string ATTR_PREFIX = "user.X-RGW-"; #define RGW_POSIX_ATTR_OWNER "POSIX-Owner" const std::string mp_ns = "multipart"; const std::string MP_OBJ_PART_PFX = "part-"; -const std::string MP_OBJ_PART_FMT = "{:0>5}"; const std::string MP_OBJ_HEAD_NAME = MP_OBJ_PART_PFX + "00000"; static inline bool get_attr(Attrs& attrs, const char* name, bufferlist& bl) -- 2.39.5