mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix an unused variable.
Enthusiastic copy-paste: in commit 17c57e1078
I added the same
precautionary call to ensure_handlewaits_tree_exists() everywhere,
even in functions that didn't actually need to use the tree.
This commit is contained in:
parent
9851d37ccb
commit
9f4bd6c552
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user