diff --git a/Ice/MenuBar/MenuBarItemManager.swift b/Ice/MenuBar/MenuBarItemManager.swift index 9ee5d4c3..ca4c0f8e 100644 --- a/Ice/MenuBar/MenuBarItemManager.swift +++ b/Ice/MenuBar/MenuBarItemManager.swift @@ -631,9 +631,6 @@ extension MenuBarItemManager { to forwardedLocation: EventTap.Location, waitingForFrameChangeOf item: MenuBarItem ) async throws { - var error: EventError { - EventError(code: .couldNotComplete, item: item) - } guard let currentFrame = getCurrentFrame(for: item) else { try await forwardEvent(event, from: initialLocation, to: forwardedLocation, item: item) Logger.itemManager.warning("Couldn't get menu bar item frame for \(item.logString), so using fixed delay")