]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove an unused variable.
authorTim Kosse <tim.kosse@filezilla-project.org>
Tue, 11 Aug 2015 12:29:44 +0000 (14:29 +0200)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Aug 2015 12:54:41 +0000 (13:54 +0100)
windows/winpgnt.c

index d2d6bad195d0c999a54079a6692c2f3848d30b2d..58b5af70cd81013bc21febbc509d5c5a2bda0cc3 100644 (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;