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:
parent
481ebd232e
commit
98f20bef77
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user