summaryrefslogtreecommitdiff
path: root/src/tgp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tgp.cpp')
-rw-r--r--src/tgp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tgp.cpp b/src/tgp.cpp
index e23b2643d..2c0c47910 100644
--- a/src/tgp.cpp
+++ b/src/tgp.cpp
@@ -658,9 +658,7 @@ static void HeightMapCurves(uint level)
for (uint t = 0; t < lengthof(curve_maps); t++) {
if (!HasBit(corner_bits, t)) continue;
-#ifdef WITH_ASSERT
- bool found = false;
-#endif
+ [[maybe_unused]] bool found = false;
const control_point_t *cm = curve_maps[t].list;
for (uint i = 0; i < curve_maps[t].length - 1; i++) {
const control_point_t &p1 = cm[i];