Remove unreachable code
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 May 2017 10:54:03 +0000 (12:54 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 16 May 2017 16:06:06 +0000 (18:06 +0200)
src/language/data-io/matrix-reader.c

index ce04dc496e4348ccba7836988fd33eb05c2bb51b..861937d32c7b4da4a81dbbe21331bd270b7fed99 100644 (file)
@@ -219,8 +219,7 @@ next_matrix_from_reader (struct matrix_material *mm,
       int col, row;
       for (col = 0; col < n_vars; ++col)
        {
-         const struct variable *cv
-           = vars ? vars[col] : dict_get_var (mr->dict, var_get_dict_index (mr->varname) + 1 + col);
+         const struct variable *cv = vars[col];
          double x = case_data (c, cv)->f;
          if (0 == strncasecmp ((char *)value_str (uv, 8), "N       ", 8))
            for (row = 0; row < n_vars; ++row)