bool fix)
{
RGWUserBuckets user_buckets;
- bool is_truncated;
+ bool is_truncated = false;
string marker;
CephContext *cct = store->ctx();
RGWUserBuckets buckets;
string marker;
- bool is_truncated;
+ bool is_truncated = false;
do {
ret = rgw_read_user_buckets(store, op_state.get_user_id(), buckets,
}
}
+ is_truncated = false;
do {
RGWUserBuckets buckets;
uint64_t read_count;
void RGWStatAccount::execute()
{
string marker;
- bool is_truncated;
+ bool is_truncated = false;
uint64_t max_buckets = s->cct->_conf->rgw_list_buckets_max_chunk;
do {
if (s->user->max_buckets) {
RGWUserBuckets buckets;
string marker;
- bool is_truncated;
+ bool is_truncated = false;
op_ret = rgw_read_user_buckets(store, s->user->user_id, buckets,
marker, string(), s->user->max_buckets,
false, &is_truncated);
if (s->user->max_buckets > 0) {
RGWUserBuckets buckets;
std::string marker;
- bool is_truncated;
+ bool is_truncated = false;
op_ret = rgw_read_user_buckets(store, s->user->user_id, buckets,
marker, std::string(), s->user->max_buckets,
false, &is_truncated);
{
CephContext *cct = store->ctx();
size_t max_entries = cct->_conf->rgw_list_buckets_max_chunk;
- bool is_truncated;
+ bool is_truncated = false;
string marker;
int ret;
RGWObjectCtx obj_ctx(store);
return -ENOENT;
}
- bool is_truncated;
+ bool is_truncated = false;
string marker;
CephContext *cct = store->ctx();
size_t max_buckets = cct->_conf->rgw_list_buckets_max_chunk;
return -EINVAL;
}
- bool is_truncated;
+ bool is_truncated = false;
string marker;
CephContext *cct = store->ctx();
size_t max_buckets = cct->_conf->rgw_list_buckets_max_chunk;