From e93960f9ed88f1e56b36907f106091093c613689 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 12 Aug 2012 11:46:42 +0200 Subject: [PATCH] cleanup, if_options() will copy() anyway --- src/frontend/options.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/options.c b/src/frontend/options.c index 097c90a52..69feb27f7 100644 --- a/src/frontend/options.c +++ b/src/frontend/options.c @@ -240,7 +240,6 @@ inp_getoptsc(char *in_line, struct line *com_options) int cp_usrset(struct variable *var, bool isset) { - char val[BSIZE_SP]; void *vv; char *s; struct variable *tv; @@ -384,8 +383,7 @@ cp_usrset(struct variable *var, bool isset) } break; case CP_STRING: - (void) strcpy(val, var->va_string); - vv = val; + vv = var->va_string; break; case CP_NUM: /*(void) sprintf(val, "%d", var->va_num);*/