mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
rgw/rgw_user.h: move initialization in initialization list
Move initialization of some variables from constructor body to the initialization list. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
9b5f8a4f9d
commit
a5ce2461d6
@ -364,14 +364,8 @@ struct RGWUserAdminOpState {
|
||||
return generated_subuser;
|
||||
}
|
||||
|
||||
RGWUserAdminOpState()
|
||||
RGWUserAdminOpState() : user_id(RGW_USER_ANON_ID), user_email(""), display_name(""), id(""), key ("")
|
||||
{
|
||||
user_id = RGW_USER_ANON_ID;
|
||||
display_name = "";
|
||||
user_email = "";
|
||||
id = "";
|
||||
key = "";
|
||||
|
||||
max_buckets = RGW_DEFAULT_MAX_BUCKETS;
|
||||
key_type = -1;
|
||||
perm_mask = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user