pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 7/9] sys-file-reader: Avoid redundant "within system file" in mes


From: Ben Pfaff
Subject: [PATCH 7/9] sys-file-reader: Avoid redundant "within system file" in messages.
Date: Sun, 30 Jan 2011 20:37:38 -0800

All system file message already state the system file's name, which should
be enough identification.
---
 src/data/sys-file-reader.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/data/sys-file-reader.c b/src/data/sys-file-reader.c
index 17aabf2..f0568ee 100644
--- a/src/data/sys-file-reader.c
+++ b/src/data/sys-file-reader.c
@@ -604,9 +604,7 @@ read_variable_record (struct sfm_reader *r, struct 
dictionary *dict,
     sys_error (r, _("Bad width %d for variable %s."), width, name);
   var = dict_create_var (dict, name, width);
   if (var == NULL)
-    sys_error (r,
-               _("Duplicate variable name `%s' within system file."),
-               name);
+    sys_error (r, _("Duplicate variable name `%s'."), name);
 
   /* Set the short name the same as the long name. */
   var_set_short_name (var, 0, var_get_name (var));
@@ -1281,8 +1279,7 @@ read_long_var_name_map (struct sfm_reader *r, size_t 
size, size_t count,
       if (strcasecmp (var_get_short_name (var, 0), long_name)
           && dict_lookup_var (dict, long_name) != NULL)
         {
-          sys_warn (r, _("Duplicate long variable name `%s' "
-                         "within system file."), long_name);
+          sys_warn (r, _("Duplicate long variable name `%s'."), long_name);
           continue;
         }
 
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]