{
struct axis_node *node;
- g_return_if_fail (n_units > 0);
+ if (n_units == 0)
+ return;
node = pool_malloc (a->pool, sizeof *node);
gint units_to_delete = n_units;
unsigned long int start;
struct tower_node *unit_node ;
- g_return_if_fail (first + n_units < tower_height (&a->unit_tower));
+ g_return_if_fail (first + n_units <= tower_height (&a->unit_tower));
split (a, first);
split (a, first + n_units);
{
glong n_cases;
const struct variable *pv = psppire_dict_get_variable (store->dict, col);
- g_return_val_if_fail (pv, FALSE);
+ if ( NULL == pv)
+ return FALSE;
n_cases = psppire_data_store_get_case_count (store);