diff options
author | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:11:55 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-28 18:30:27 +0100 |
commit | cd23817bf1884fee4457ab3381320b0c8fc33f48 (patch) | |
tree | 9440ff3b0386ca9e3b1bac9eda168741ec6debb3 /source/windowing | |
parent | 28d486446ca176ef0168a7284d85cb49a75a54fb (diff) |
Fixed remaining compiler warnings
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
Diffstat (limited to 'source/windowing')
-rw-r--r-- | source/windowing/StarPane.cpp | 2 | ||||
-rw-r--r-- | source/windowing/StarScrollArea.cpp | 2 | ||||
-rw-r--r-- | source/windowing/StarVerticalLayout.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/windowing/StarPane.cpp b/source/windowing/StarPane.cpp index b1a3daa..36e8435 100644 --- a/source/windowing/StarPane.cpp +++ b/source/windowing/StarPane.cpp @@ -203,7 +203,7 @@ void Pane::update(float dt) { } } -void Pane::tick(float dt) { +void Pane::tick(float) { m_playingSounds.filter([](pair<String, AudioInstancePtr> const& p) { return p.second->finished() == false; }); diff --git a/source/windowing/StarScrollArea.cpp b/source/windowing/StarScrollArea.cpp index 4cd2ba6..f4cc140 100644 --- a/source/windowing/StarScrollArea.cpp +++ b/source/windowing/StarScrollArea.cpp @@ -384,7 +384,7 @@ bool ScrollArea::sendEvent(InputEvent const& event) { return true; } -void ScrollArea::update(float dt) { +void ScrollArea::update(float) { if (!m_visible) return; diff --git a/source/windowing/StarVerticalLayout.cpp b/source/windowing/StarVerticalLayout.cpp index 412fce0..4619232 100644 --- a/source/windowing/StarVerticalLayout.cpp +++ b/source/windowing/StarVerticalLayout.cpp @@ -9,7 +9,7 @@ VerticalLayout::VerticalLayout(VerticalAnchor verticalAnchor, int verticalSpacin disableScissoring(); } -void VerticalLayout::update(float dt) { +void VerticalLayout::update(float) { m_size = Vec2I(0, 0); if (m_members.empty()) |