From: Danny Al-Gaaf Date: Sun, 11 May 2014 09:55:28 +0000 (+0200) Subject: cls_kvs.cc: return 'r' from get_idata_from_key() X-Git-Tag: v0.81~27^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ea69f6b1aa599fce8398500e8450d1e762b1287b;p=ceph.git cls_kvs.cc: return 'r' from get_idata_from_key() Fix for: 69 r = 0; Value stored to 'r' is never read Signed-off-by: Danny Al-Gaaf --- diff --git a/src/key_value_store/cls_kvs.cc b/src/key_value_store/cls_kvs.cc index 06266127dcc..841f56fa833 100644 --- a/src/key_value_store/cls_kvs.cc +++ b/src/key_value_store/cls_kvs.cc @@ -73,7 +73,7 @@ static int get_idata_from_key(cls_method_context_t hctx, const string &key, } CLS_LOG(20, "idata is %s", idata.str().c_str()); - return 0; + return r; }