mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
fixing uninitialized variable bug
This commit is contained in:
parent
c01721e110
commit
19dc018d35
1 changed files with 3 additions and 3 deletions
6
eval.c
6
eval.c
|
@ -1435,9 +1435,9 @@ sexp sexp_define_foreign_aux (sexp ctx, sexp env, const char *name, int num_args
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
sexp sexp_define_foreign_param (sexp ctx, sexp env, const char *name, int num_args,
|
sexp sexp_define_foreign_param (sexp ctx, sexp env, const char *name,
|
||||||
sexp_proc1 f, const char *param) {
|
int num_args, sexp_proc1 f, const char *param) {
|
||||||
sexp res;
|
sexp res = SEXP_FALSE;
|
||||||
sexp_gc_var1(tmp);
|
sexp_gc_var1(tmp);
|
||||||
sexp_gc_preserve1(ctx, tmp);
|
sexp_gc_preserve1(ctx, tmp);
|
||||||
tmp = sexp_intern(ctx, param, -1);
|
tmp = sexp_intern(ctx, param, -1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue