commit 74fd43b342afedffd5624096a55cd7c8df72aaf1
parent c43cbc31957b721093754f24817c9a8f80717f4a
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 1 Apr 2025 16:18:22 +0200
Remove useless code
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/scad_geometry.c b/src/scad_geometry.c
@@ -1695,10 +1695,6 @@ error:
int dim = INT_MAX;
if(!mixed_dim_err_msg(name, "common boundary", geometries, geometries_count, &dim))
mixed_dim_err_msg(name, "common boundary", tools, tools_count, &dim);
- if(geom) {
- SCAD(geometry_ref_put(geom));
- geom = NULL;
- }
}
if(geom) {
SCAD(geometry_ref_put(geom));