From: Yehuda Sadeh Date: Wed, 3 Feb 2016 05:43:18 +0000 (-0500) Subject: rgw: fix null dereference X-Git-Tag: v10.1.0~382^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=47a5c0cf0f12369d162d99096c2ca6f20d5cb984;p=ceph.git rgw: fix null dereference Signed-off-by: Yehuda Sadeh Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_process.cc b/src/rgw/rgw_process.cc index 0fb2890c9088..5095fe77846a 100644 --- a/src/rgw/rgw_process.cc +++ b/src/rgw/rgw_process.cc @@ -182,7 +182,6 @@ done: } int http_ret = s->err.http_ret; - int op_ret = 0; if (op) { op_ret = op->get_ret();