projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the expression code a little nicer and fix bugs found
[pspp-builds.git]
/
src
/
vars-prs.c
diff --git
a/src/vars-prs.c
b/src/vars-prs.c
index 143ad171bccd044c687de56eae05f1c254f89bfb..21340ef031d1dddcb2503355b41b5bb475473acc 100644
(file)
--- a/
src/vars-prs.c
+++ b/
src/vars-prs.c
@@
-104,12
+104,14
@@
dict_class_to_name (enum dict_class dict_class)
return _("scratch");
default:
assert (0);
return _("scratch");
default:
assert (0);
+ abort ();
}
}
/* Parses a set of variables from dictionary D given options
OPTS. Resulting list of variables stored in *VAR and the
}
}
/* Parses a set of variables from dictionary D given options
OPTS. Resulting list of variables stored in *VAR and the
- number of variables into *CNT. */
+ number of variables into *CNT. Returns nonzero only if
+ successful. */
int
parse_variables (struct dictionary *d, struct variable ***var, int *cnt,
int opts)
int
parse_variables (struct dictionary *d, struct variable ***var, int *cnt,
int opts)