Fix unused var.

This commit is contained in:
Anton Stankevich 2024-10-26 18:23:46 +00:00
parent 5bf6edb8c4
commit bb2022736b

View File

@ -308,6 +308,6 @@ void MainWindow::showErrorAlert(const char * message) {
"Ok", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING,
B_WARNING_ALERT);
alert->SetShortcut(0, B_ESCAPE);
int32 button_index = alert->Go();
alert->Go();
//Quit(); //Leads to crash
}