1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-03 21:52:24 +00:00

Remove an unused variable.

This commit is contained in:
Tim Kosse 2015-08-11 14:29:44 +02:00 committed by Simon Tatham
parent 481ebd232e
commit 98f20bef77

View File

@ -744,7 +744,6 @@ PSID get_default_sid(void)
static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam) WPARAM wParam, LPARAM lParam)
{ {
int ret;
static int menuinprogress; static int menuinprogress;
static UINT msgTaskbarCreated = 0; static UINT msgTaskbarCreated = 0;
@ -779,10 +778,10 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
menuinprogress = 1; menuinprogress = 1;
update_sessions(); update_sessions();
SetForegroundWindow(hwnd); SetForegroundWindow(hwnd);
ret = TrackPopupMenu(systray_menu, TrackPopupMenu(systray_menu,
TPM_RIGHTALIGN | TPM_BOTTOMALIGN | TPM_RIGHTALIGN | TPM_BOTTOMALIGN |
TPM_RIGHTBUTTON, TPM_RIGHTBUTTON,
wParam, lParam, 0, hwnd, NULL); wParam, lParam, 0, hwnd, NULL);
menuinprogress = 0; menuinprogress = 0;
} }
break; break;