]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/windlg.c
Remove an unused variable.
[PuTTY.git] / windows / windlg.c
index 5bedd1309933a492c6e9a6a9b44fbd19dfb843d3..783116161ed1a535987b40dd9958f84fdab5914d 100644 (file)
@@ -505,6 +505,7 @@ static int CALLBACK GenericMainDlgProc(HWND hwnd, UINT msg,
              * And create the actual control set for that panel, to
              * match the initial treeview selection.
              */
+            assert(firstpath);   /* config.c must have given us _something_ */
             create_controls(hwnd, firstpath);
            dlg_refresh(NULL, &dp);    /* and set up control values */
        }