xquartz: xprFrame.c: drop duplicate variable in fallback code

Signed-off-by: Sergey Fedorov <vital.had@gmail.com>
This commit is contained in:
Sergey Fedorov 2026-05-28 16:47:30 +08:00 • committed by Enrico Weigelt
commit 4e8d840f68

View file

@ -579,7 +579,6 @@ xprGetXWindow(xp_window_id wid)
dispatch_sync_f(window_hash_serial_q, &ctx, windowGet);
#else
RootlessWindowRec *winRec;
pthread_rwlock_rdlock(&window_hash_rwlock);
winRec = x_hash_table_lookup(window_hash, x_cvt_uint_to_vptr(wid), NULL);
pthread_rwlock_unlock(&window_hash_rwlock);