From 2def5c1fb5e9693d3cd8eb628b548f0ca9fb4ec1 Mon Sep 17 00:00:00 2001 From: zhujun2 Date: Mon, 27 Nov 2023 01:43:14 -0800 Subject: [PATCH] qtfs/rexec/rexec_shim.c: remove unused variable The variable is never referenced in the code, just remove them Signed-off-by: zhujun2 --- qtfs/rexec/rexec_shim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qtfs/rexec/rexec_shim.c b/qtfs/rexec/rexec_shim.c index 5bd8a19..6c62d3d 100644 --- a/qtfs/rexec/rexec_shim.c +++ b/qtfs/rexec/rexec_shim.c @@ -100,7 +100,6 @@ void rshim_reg_file_resume(const char * const json_buf) struct json_object *obj_offset; int fd, perm, offset; const char *path = NULL; - int curfd = 3; // begin from 3 struct json_object *fd_json = json_tokener_parse(json_buf); if (fd_json == NULL) { fprintf(stderr, "parse json error\n"); -- Gitee