From 8c2703db4a0ddc62f5a3a2521a4c626079ab6209 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 31 Aug 2021 21:40:46 +1000 Subject: [PATCH] set to void parameters when not using Miq Field smoothing to avoid warnings --- wrap/igl/smooth_field.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wrap/igl/smooth_field.h b/wrap/igl/smooth_field.h index bc3ad19f..9629a883 100644 --- a/wrap/igl/smooth_field.h +++ b/wrap/igl/smooth_field.h @@ -264,6 +264,14 @@ class FieldSmoother mesh.face[i].PD2()=dir2*Norm2; } #else + (void)mesh; + (void)HardI; + (void)HardD; + (void)SoftI; + (void)SoftD; + (void)SoftW; + (void)alpha_soft; + (void)Ndir; assert(0); #endif }