From 6af0266b178c75ffc7adbe7db72d1335adac92a7 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Fri, 2 Jun 2006 23:42:01 +0000 Subject: [PATCH] (s_vector): Conditionalize on SCM_ENABLE_ELISP, to avoid unused variable warning when elisp disabled. Reported by Ryan VanderBijl. --- libguile/read.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libguile/read.c b/libguile/read.c index 0714e3f84..d75839589 100644 --- a/libguile/read.c +++ b/libguile/read.c @@ -329,7 +329,9 @@ static SCM scm_get_hash_procedure(int c); static SCM scm_i_lreadparen (SCM *, SCM, char *, SCM *, char); static char s_list[]="list"; +#if SCM_ENABLE_ELISP static char s_vector[]="vector"; +#endif SCM scm_lreadr (SCM *tok_buf, SCM port, SCM *copy)