From 9f4bd6c55294ff9bece74f34158c434ed2f20c58 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 27 May 2021 09:47:33 +0100 Subject: [PATCH] Fix an unused variable. Enthusiastic copy-paste: in commit 17c57e1078c8fab I added the same precautionary call to ensure_handlewaits_tree_exists() everywhere, even in functions that didn't actually need to use the tree. --- windows/handle-wait.c | 1 - 1 file changed, 1 deletion(-) diff --git a/windows/handle-wait.c b/windows/handle-wait.c index 47479aa0..9e4e522d 100644 --- a/windows/handle-wait.c +++ b/windows/handle-wait.c @@ -129,7 +129,6 @@ void handle_wait_activate(HandleWaitList *hwl, int index) { struct HandleWaitListInner *hwli = container_of(hwl, struct HandleWaitListInner, hwl); - tree234 *t = ensure_handlewaits_tree_exists(); assert(0 <= index); assert(index < hwli->hwl.nhandles); HandleWait *hw = hwli->hws[index];