From 924870103590032b33a94b471fc90ed08f4072c6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 23 Apr 2011 11:40:42 -0700 Subject: [PATCH] short-names: Drop redundant call to var_set_short_name(). This function always calls var_set_short_name() twice, so we can drop the first call. --- src/data/short-names.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/data/short-names.c b/src/data/short-names.c index d1e37f5b..fbf813a3 100644 --- a/src/data/short-names.c +++ b/src/data/short-names.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,9 +43,6 @@ set_var_short_name_suffix (struct variable *v, size_t i, assert (suffix_number >= 0); - /* Set base name. */ - var_set_short_name (v, i, base); - /* Compose suffix. */ suffix[0] = '_'; if (!str_format_26adic (suffix_number, &suffix[1], sizeof suffix - 1)) -- 2.30.2