Reduce warnings: remove unused variables (#6499)

Removed unused variables
This commit is contained in:
Vovodroid 2024-08-22 19:02:58 +03:00 committed by GitHub
parent c6065d54fc
commit 2eb1adb719
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 21 additions and 32 deletions

View file

@ -2006,7 +2006,7 @@ void ObjectList::load_modifier(const wxArrayString& input_files, ModelObject& mo
try {
model = Model::read_from_file(input_file, nullptr, nullptr, LoadStrategy::LoadModel);
}
catch (std::exception& e) {
catch (std::exception&) {
// auto msg = _L("Error!") + " " + input_file + " : " + e.what() + ".";
auto msg = _L("Error!") + " " + _L("Failed to get the model data in the current file.");
show_error(parent, msg);