]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: MonCaps default initializes more variables
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 24 Mar 2010 20:54:20 +0000 (13:54 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 25 Mar 2010 17:55:02 +0000 (10:55 -0700)
src/mon/MonCaps.h

index fe6cc5570ab623ce08d9c450e95fb2f3a5d7353f..65ac28ff9778b2b795ba3b910282835c3b183fc1 100644 (file)
@@ -69,7 +69,8 @@ struct MonCaps {
   bool allow_all;
   __u64 auid;
 public:
-  MonCaps() : default_action(0), allow_all(false) {}
+  MonCaps() : text(), default_action(0),
+             allow_all(false), auid(CEPH_AUTH_UID_DEFAULT) {}
   const string& get_str() const { return text; }
   bool parse(bufferlist::iterator& iter);
   rwx_t get_caps(int service);