From: Ben Pfaff Date: Sat, 23 Apr 2011 18:40:42 +0000 (-0700) Subject: short-names: Drop redundant call to var_set_short_name(). X-Git-Tag: v0.7.8~43 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=924870103590032b33a94b471fc90ed08f4072c6;p=pspp-builds.git 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. --- 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))