From 62dd52fbcbc80a07dd3dff5729420ececb4a784e Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 9 Aug 2016 21:22:18 +0200 Subject: [PATCH] fixme, cp_remvar_all() needs to be reconsidered after code change in cp_usrvars() --- src/frontend/variable.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/frontend/variable.c b/src/frontend/variable.c index 1566eb00c..cdbc10b22 100644 --- a/src/frontend/variable.c +++ b/src/frontend/variable.c @@ -1029,12 +1029,6 @@ var_set_vlist(struct variable *v, struct variable *value) void cp_remvar_all(void) { - struct variable *uv1, *uv2; - - cp_usrvars(&uv1, &uv2); - free_struct_variable(variables); variables = NULL; - free_struct_variable(uv1); - free_struct_variable(uv2); }