activa -Wextra -Wpedantic i neteja warnings

This commit is contained in:
2026-05-18 22:36:01 +02:00
parent 5349c60c39
commit 02bc4de6d5
17 changed files with 80 additions and 38 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ void MenuRenderer::ShowHideAnimation::stop() {
elapsed = 0.0F;
}
MenuRenderer::MenuRenderer(const ServiceMenu* menu_state, std::shared_ptr<Text> element_text, std::shared_ptr<Text> title_text)
MenuRenderer::MenuRenderer(const ServiceMenu* /*menu_state*/, std::shared_ptr<Text> element_text, std::shared_ptr<Text> title_text)
: element_text_(std::move(element_text)),
title_text_(std::move(title_text)) {
initializeMaxSizes();
@@ -145,7 +145,7 @@ void MenuRenderer::render(const ServiceMenu* menu_state) {
}
}
void MenuRenderer::update(const ServiceMenu* menu_state, float delta_time) {
void MenuRenderer::update(const ServiceMenu* /*menu_state*/, float delta_time) {
updateAnimations(delta_time);
if (visible_) {