At (2): Non-static class member "session_timeout" is not initialized in this constructor nor in any functions that it calls.
At (4): Non-static class member "session_autoclose" is not initialized in this constructor nor in any functions that it calls.
At (6): Non-static class member "max_file_size" is not initialized in this constructor nor in any functions that it calls.
CID 717238: Uninitialized scalar field (UNINIT_CTOR)
At (8): Non-static class member "max_mds" is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Sage Weil <sage@inktank.com>
public:
MDSMap()
: epoch(0), flags(0), last_failure(0), last_failure_osd_epoch(0), tableserver(0), root(0),
- cas_pg_pool(-1), metadata_pg_pool(0) {
- }
+ session_timeout(0),
+ session_autoclose(0),
+ max_file_size(0),
+ cas_pg_pool(-1),
+ metadata_pg_pool(0),
+ max_mds(0)
+ { }
utime_t get_session_timeout() {
return utime_t(session_timeout,0);