mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-09 14:07:34 +02:00
remove unused but set variable
This commit is contained in:
parent
990cc8293b
commit
3628abad7b
1 changed files with 1 additions and 2 deletions
3
eval.c
3
eval.c
|
@ -1136,7 +1136,7 @@ sexp sexp_load_op (sexp ctx, sexp self, sexp_sint_t n, sexp source, sexp env) {
|
||||||
#if SEXP_USE_DL || SEXP_USE_STATIC_LIBS
|
#if SEXP_USE_DL || SEXP_USE_STATIC_LIBS
|
||||||
char *suffix;
|
char *suffix;
|
||||||
#endif
|
#endif
|
||||||
sexp tmp, out=SEXP_FALSE;
|
sexp out=SEXP_FALSE;
|
||||||
sexp_gc_var4(ctx2, x, in, res);
|
sexp_gc_var4(ctx2, x, in, res);
|
||||||
if (!env) env = sexp_context_env(ctx);
|
if (!env) env = sexp_context_env(ctx);
|
||||||
sexp_assert_type(ctx, sexp_envp, SEXP_ENV, env);
|
sexp_assert_type(ctx, sexp_envp, SEXP_ENV, env);
|
||||||
|
@ -1157,7 +1157,6 @@ sexp sexp_load_op (sexp ctx, sexp self, sexp_sint_t n, sexp source, sexp env) {
|
||||||
sexp_gc_preserve4(ctx, ctx2, x, in, res);
|
sexp_gc_preserve4(ctx, ctx2, x, in, res);
|
||||||
out = sexp_current_error_port(ctx);
|
out = sexp_current_error_port(ctx);
|
||||||
ctx2 = sexp_make_eval_context(ctx, sexp_context_stack(ctx), env, 0, 0);
|
ctx2 = sexp_make_eval_context(ctx, sexp_context_stack(ctx), env, 0, 0);
|
||||||
tmp = sexp_env_bindings(env);
|
|
||||||
sexp_context_parent(ctx2) = ctx;
|
sexp_context_parent(ctx2) = ctx;
|
||||||
sexp_context_tailp(ctx2) = 0;
|
sexp_context_tailp(ctx2) = 0;
|
||||||
if (sexp_exceptionp(in)) {
|
if (sexp_exceptionp(in)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue