feature complete
[pspp] / utilities / pspp-dump-sav.c
index 3d85b9b0890b26a1d27b225318ed0f1ec0da1fab..ba5a0c9045c3c78734c2386bf897e08c66b963cb 100644 (file)
@@ -1135,7 +1135,7 @@ read_long_string_missing_values (struct sfm_reader *r,
       /* Read variable name. */
       int var_name_len = read_int (r);
       if (var_name_len > ID_MAX_LEN)
-        sys_error (r, "Variable name length in long string value label "
+        sys_error (r, "Variable name length in long string missing value "
                    "record (%d) exceeds %d-byte limit.",
                    var_name_len, ID_MAX_LEN);
       char var_name[ID_MAX_LEN + 1];
@@ -1154,8 +1154,6 @@ read_long_string_missing_values (struct sfm_reader *r,
       /* Read values. */
       for (int i = 0; i < n_missing_values; i++)
        {
-          posn = ftello (r->file);
-
           /* Read value. */
           char *value = xmalloc (value_length + 1);
           read_string (r, value, value_length + 1);