/[pspp]/pspp/src/dictionary.c
ViewVC logotype

Diff of /pspp/src/dictionary.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by blp, Mon May 2 06:21:20 2005 UTC revision 1.22 by blp, Thu May 5 06:59:54 2005 UTC
# Line 450  dict_delete_var (struct dictionary *d, s Line 450  dict_delete_var (struct dictionary *d, s
450    assert (d != NULL);    assert (d != NULL);
451    assert (v != NULL);    assert (v != NULL);
452    assert (dict_contains_var (d, v));    assert (dict_contains_var (d, v));
   assert (d->var[v->index] == v);  
453    
454    /* Delete aux data. */    /* Delete aux data. */
455    var_clear_aux (v);    var_clear_aux (v);
# Line 789  dict_compact_values (struct dictionary * Line 788  dict_compact_values (struct dictionary *
788            i++;            i++;
789          }          }
790        else        else
791          dict_delete_var (default_dict, v);          dict_delete_var (d, v);
792      }      }
793  }  }
794    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26