projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add assertions.
[pspp-builds.git]
/
src
/
data-in.c
diff --git
a/src/data-in.c
b/src/data-in.c
index 8f36dcb046d298c3e431b59fc53617c939ca4113..d17a2cf7d67746e54032b42b3b8d41841862b9c9 100644
(file)
--- a/
src/data-in.c
+++ b/
src/data-in.c
@@
-1363,6
+1363,8
@@
data_in (struct data_in *i)
{
const struct fmt_desc *const fmt = &formats[i->format.type];
+ assert (check_input_specifier (&i->format, 0));
+
/* Check that we've got a string to work with. */
if (i->e == i->s || i->format.w <= 0)
{