]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: get_data should not be initialized after being set
authorYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 18 Sep 2010 01:26:48 +0000 (18:26 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Sat, 18 Sep 2010 01:27:56 +0000 (18:27 -0700)
src/rgw/rgw_op.h

index a993afd27736665ed26ca275e67fe047e30a4e7b..b6463f8ed94acb0086f2dec4cd21cf5bddaf5725 100644 (file)
@@ -91,7 +91,8 @@ public:
     attrs.clear();
     data = NULL;
     ret = 0;
-    get_data = false;
+
+    /* get_data should not be initialized here! */
   }
   void set_get_data(bool get_data) {
     this->get_data = get_data;