mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/shared] Silence warning for unused variable
Change-Id: I1df4a8c111688e00a82d4448d47fd571fec738e4
This commit is contained in:
committed by
Émilie Feral
parent
eb5f4b333a
commit
aa50a5eb7c
@@ -158,6 +158,7 @@ void InteractiveCurveViewRange::normalize() {
|
||||
* properly normalize. */
|
||||
constexpr float limit = 1e7f;
|
||||
assert(isOrthonormal() || xMin() < -limit || xMax() > limit || yMin() < -limit || yMax() > limit);
|
||||
(void) limit; // Silence compilation warning about unused variable.
|
||||
setZoomNormalize(isOrthonormal());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user