CID 717377 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member "max_uploads" is not initialized
in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member "default_max" is not initialized
in this constructor nor in any functions that it calls.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit
b23a141d54ffb39958aba9da7f87544674fa0e50)
+// -*- mode:C; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
/**
* All operations via the rados gateway are carried out by
* small classes known as RGWOps. This class contains a req_state
public:
RGWListBucketMultiparts() {
+ max_uploads = 0;
ret = 0;
is_truncated = false;
+ default_max = 0;
}
virtual void init(RGWRados *store, struct req_state *s, RGWHandler *h) {