From: Yehuda Sadeh Date: Sat, 18 Sep 2010 01:26:48 +0000 (-0700) Subject: rgw: get_data should not be initialized after being set X-Git-Tag: v0.21.3~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=67f1f1dded48b5eea00a21ad0c99971888141fd2;p=ceph.git rgw: get_data should not be initialized after being set --- diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index a993afd2773..b6463f8ed94 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -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;