From: Liu Yuan <tailai.ly at taobao.com> GCC whines about this, so quiet it. Signed-off-by: Liu Yuan <tailai.ly at taobao.com> --- sheep/store.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sheep/store.c b/sheep/store.c index 526897b..8583455 100644 --- a/sheep/store.c +++ b/sheep/store.c @@ -753,7 +753,7 @@ out: static int fix_object_consistency(struct request *req, int idx) { - int ret; + int ret = SD_RES_NO_MEM; unsigned int data_length; struct sd_obj_req *hdr = (struct sd_obj_req *)&req->rq; struct sd_obj_req req_bak = *((struct sd_obj_req *)&req->rq); -- 1.7.5.1 |