commit 3b701053f640cea417fa9cff3534d5c4291dbcd1
parent 89f5dce17d309a2ff83676cd5c826c076692f97f
Author: Benjamin Piaud <benjamin.piaud@meso-star.com>
Date: Tue, 21 Feb 2023 15:28:00 +0100
Fix warning
Diffstat:
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/cg_building.c b/src/cg_building.c
@@ -25,6 +25,12 @@
#include <star/scad.h>
#include <star/scpr.h>
+static void unused_functions(void){
+ (void)&get_pos;
+ (void)&get_nverts;
+ return;
+}
+
res_T
build_adjoining
(const struct building* adjoining,
@@ -35,6 +41,8 @@ build_adjoining
size_t i = 0;
struct scad_geometry** envelop_list = NULL;
+ (void)&unused_functions;
+
if (!adjoining || adjoining_n < 1 || !geom) {
res = RES_BAD_ARG;
goto error;
@@ -73,8 +81,3 @@ exit:
error:
goto exit;
}
-
-
-
-
-