Remove unnecessary assignment in wxFileDialog code

"panel" here is an input argument, it's confusing to change it and it's
unnecessary anyhow, so just don't do it.

No real changes.
This commit is contained in:
Vadim Zeitlin 2022-06-16 21:34:34 +02:00
parent 3b6595184f
commit bcff3d17e8

View file

@ -650,7 +650,6 @@ void wxFileDialog::ModalFinishedCallback(void* panel, int returnCode)
NSOpenPanel* oPanel = (NSOpenPanel*)panel;
if (returnCode == NSModalResponseOK )
{
panel = oPanel;
result = wxID_OK;
bool isFirst = true;