ret can be used undefined at bottom Signed-off-by: Serge E. Hallyn <serue@xxxxxxxxxx> --- checkpoint/ckpt_mem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/checkpoint/ckpt_mem.c b/checkpoint/ckpt_mem.c index 7cfeac3..b1b50b5 100644 --- a/checkpoint/ckpt_mem.c +++ b/checkpoint/ckpt_mem.c @@ -525,7 +525,7 @@ static int cr_write_shared_vma_contents(struct cr_ctx *ctx, { struct inode *inode; unsigned long end; - int ret; + int ret = -EINVAL; /* * Citing mmap(2): "Updates to the mapping are visible to other -- 1.6.1 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers