[CRIU] [PATCH] crtools: don't redeclarate the variable

Andrey Vagin avagin at openvz.org
Fri Mar 16 07:21:47 EDT 2012


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/cr-restore.c b/cr-restore.c
index f53f5cb..e1692f0 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -405,7 +405,6 @@ static int prepare_shared(int ps_fd)
 
 	while (1) {
 		struct pstree_entry e;
-		int ret;
 
 		ret = read_img_eof(ps_fd, &e);
 		if (ret <= 0)
-- 
1.7.7.6



More information about the CRIU mailing list