fix Warning

This commit is contained in:
berrux-dev committed 2026-10-03 09:20:13 +02:00
1 parent 593c221d23
commit 8345470273
316 files changed
+1246 -929

No files matched your search

@@ -49,7 +49,9 @@ private:
qint64 m_finishedTime;
};
static bool withinTolerance(qint64 measured, qint64 expected, qint64 tolerance) {
// defined but only used by aes_test_fire_automaton.cpp; AUTOMOC pulls the header
// into a separate TU that never calls it, so mark it to suppress -Wunused-function
[[maybe_unused]] static bool withinTolerance(qint64 measured, qint64 expected, qint64 tolerance) {
return qAbs(measured-expected) <= tolerance;
};