From e39b42df53be9fd6eba803e390c06aa2e4b49585 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 28 May 2024 22:38:25 +0200 Subject: [PATCH] cleanup: remove disfunct add_cloned_weightsystem_at() Clearly, a development artifact. Signed-off-by: Berthold Stoeger --- core/equipment.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/equipment.c b/core/equipment.c index df1b7074d..d3daf50fc 100644 --- a/core/equipment.c +++ b/core/equipment.c @@ -207,13 +207,6 @@ void add_cloned_weightsystem(struct weightsystem_table *t, weightsystem_t ws) add_to_weightsystem_table(t, t->nr, clone_weightsystem(ws)); } -/* Add a clone of a weightsystem to the end of a weightsystem table. - * Cloned means that the description-string is copied. */ -void add_cloned_weightsystem_at(struct weightsystem_table *t, weightsystem_t ws) -{ - add_to_weightsystem_table(t, t->nr, clone_weightsystem(ws)); -} - cylinder_t clone_cylinder(cylinder_t cyl) { cylinder_t res = cyl;