/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008, 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2009, 2011, 2012, 2013, 2014 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
for (i = 1; i <= range_set_node_get_width (node); i++)
{
unsigned long row = range_set_node_get_end (node) - i;
- if (row >= 0 && row < psppire_dict_get_var_cnt (dict))
+ if (row < psppire_dict_get_var_cnt (dict))
psppire_dict_delete_variables (dict, row, 1);
}
}