gles2/pass: remove duplicate variable declarations

This commit is contained in:
YaoBing Xiao 2024-08-26 23:57:26 +08:00
parent 0d6284eb62
commit 0db4df4c8e

View File

@ -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;