From 67f1f1dded48b5eea00a21ad0c99971888141fd2 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 17 Sep 2010 18:26:48 -0700 Subject: [PATCH] rgw: get_data should not be initialized after being set --- src/rgw/rgw_op.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index a993afd277366..b6463f8ed94ac 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; -- 2.39.5