summaryrefslogtreecommitdiff
path: root/libguile/regex-posix.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1998-07-12 00:10:02 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1998-07-12 00:10:02 +0000
commita8741caa54fa6fc14bc290c40cc97361db850953 (patch)
tree0cc6d2e9e5f5dc6c85497eb51de3b5339dec95b6 /libguile/regex-posix.c
parenta61ef59b0bb8c556d2ffb950b7f24674cd61034b (diff)
downloadguile-a8741caa54fa6fc14bc290c40cc97361db850953.tar.gz
* eval.c, filesys.c, fluids.c, gc.c, gh_data.c, init.c, kw.c,
net_db.c, posix.c, print.c, regex-posix.c, scmsigs.c, socket.c, stime.c, symbols.c, unif.c, vectors.c, weaks.c: Removed third argument in call to scm_make_vector.
Diffstat (limited to 'libguile/regex-posix.c')
-rw-r--r--libguile/regex-posix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c
index 0b63a3ea8..f72efe455 100644
--- a/libguile/regex-posix.c
+++ b/libguile/regex-posix.c
@@ -249,8 +249,7 @@ scm_regexp_exec (SCM rx, SCM str, SCM start, SCM flags)
int i;
/* The match vector must include a cell for the string that was matched,
so add 1. */
- mvec = scm_make_vector (SCM_MAKINUM (nmatches + 1), SCM_UNSPECIFIED,
- SCM_UNDEFINED);
+ mvec = scm_make_vector (SCM_MAKINUM (nmatches + 1), SCM_UNSPECIFIED);
SCM_VELTS(mvec)[0] = str;
for (i = 0; i < nmatches; ++i)
SCM_VELTS(mvec)[i+1] = scm_cons(SCM_MAKINUM(matches[i].rm_so + offset),