From 0db4df4c8e2460573af7a309c2e9b0c3c53663af Mon Sep 17 00:00:00 2001 From: YaoBing Xiao Date: Mon, 26 Aug 2024 23:57:26 +0800 Subject: [PATCH] gles2/pass: remove duplicate variable declarations --- render/gles2/pass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/gles2/pass.c b/render/gles2/pass.c index 2942ab58..71baf2ce 100644 --- a/render/gles2/pass.c +++ b/render/gles2/pass.c @@ -52,7 +52,7 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) { goto out; } - bool ok = wlr_drm_syncobj_timeline_import_sync_file(pass->signal_timeline, pass->signal_point, sync_file_fd); + ok = wlr_drm_syncobj_timeline_import_sync_file(pass->signal_timeline, pass->signal_point, sync_file_fd); close(sync_file_fd); if (!ok) { goto out;