Skip to content

Commit

Permalink
Remove unused code (and warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppescher committed Aug 5, 2024
1 parent f4caf73 commit c8f59d3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions ResizableComboBox/Demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,8 @@ BOOL CDemoApp::InitInstance()

CDemoDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
}
else if (nResponse == IDCANCEL)
{
}

dlg.DoModal();

// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application's message pump.
Expand Down

0 comments on commit c8f59d3

Please sign in to comment.