fix warnings:

../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1452:18: warning: unused variable 'volume_id' [-Wunused-variable]
../src/slic3r/Utils/EmbossStyleManager.cpp:64:18: warning: unused variable 'loaded' [-Wunused-variable]
This commit is contained in:
Filip Sykala - NTB T15p 2022-08-16 18:12:08 +02:00
parent 4fddeccdac
commit 94f735168c
2 changed files with 1 additions and 3 deletions

View File

@ -1449,8 +1449,6 @@ void GLGizmoEmboss::draw_model_type()
if (is_volume_move_inside || is_volume_move_outside) process();
}
ObjectID volume_id = m_volume->id();
// inspiration in ObjectList::change_part_type()
// how to view correct side panel with objects
ObjectList *obj_list = app.obj_list();

View File

@ -61,7 +61,7 @@ void EmbossStyleManager::init(AppConfig *app_config, const EmbossStyles &default
m_style_items.push_back({std::move(style)});
}
// try to load first default font
bool loaded = load_style(activ_index);
[[maybe_unused]] bool loaded = load_style(activ_index);
assert(loaded);
}
}