From 258b7b9a31b98b57b21733062d91ded98f13e561 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Tue, 5 May 2015 00:51:36 +0200 Subject: [PATCH] rgw/rgw_rados.cc: remove dead code CID 1274290 (#1 of 1): Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement return r;. Signed-off-by: Danny Al-Gaaf --- src/rgw/rgw_rados.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index a58f4a24e14b3..9f850a337029d 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -5172,8 +5172,6 @@ int RGWRados::Object::Read::prepare(int64_t *pofs, int64_t *pend) ldout(cct, 20) << "Read xattr: " << iter->first << dendl; } } - if (r < 0) - return r; } /* Convert all times go GMT to make them compatible */ -- 2.39.5