1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02: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,
WPARAM wParam, LPARAM lParam)
{
int ret;
static int menuinprogress;
static UINT msgTaskbarCreated = 0;
@ -779,10 +778,10 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
menuinprogress = 1;
update_sessions();
SetForegroundWindow(hwnd);
ret = TrackPopupMenu(systray_menu,
TPM_RIGHTALIGN | TPM_BOTTOMALIGN |
TPM_RIGHTBUTTON,
wParam, lParam, 0, hwnd, NULL);
TrackPopupMenu(systray_menu,
TPM_RIGHTALIGN | TPM_BOTTOMALIGN |
TPM_RIGHTBUTTON,
wParam, lParam, 0, hwnd, NULL);
menuinprogress = 0;
}
break;