Skip to content

Commit

Permalink
sheep/http/kv.c: Garbage return value
Browse files Browse the repository at this point in the history
Signed-off-by: hongzhou zhang <zhang.hongzhou@hotmail.com>
  • Loading branch information
zhanghongzhou committed Aug 12, 2015
1 parent 2dc8fb4 commit 1d13586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sheep/http/kv.c
Expand Up @@ -1060,7 +1060,7 @@ static int onode_read_extents(struct kv_onode *onode, struct http_request *req)
struct onode_extent *ext;
uint64_t size, total, total_size, offset, done = 0, i, ext_len;
uint64_t off = req->offset, len = req->data_length;
int ret;
int ret = SD_RES_SUCCESS;
char *data_buf = NULL;
uint64_t read_buffer_size = MIN(kv_rw_buffer, onode->size);

Expand Down

0 comments on commit 1d13586

Please sign in to comment.