diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-13 13:20:39 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-13 15:29:30 +0200 |
commit | 0b0ac740fcef9644c3808c1d96f440a44a2fbea2 (patch) | |
tree | 7b0cea8fddcd60bdc976426441da3b96e5c978f1 /libguile/vm.c | |
parent | d3464bb6e2b3ce0411a24ffe02ef398b4bc37d0f (diff) | |
download | guile-0b0ac740fcef9644c3808c1d96f440a44a2fbea2.tar.gz |
vm_make_boot_program initializer fix
* libguile/vm.c (vm_make_boot_program): Use #f as the "I don't have a
program" value.
Diffstat (limited to 'libguile/vm.c')
-rw-r--r-- | libguile/vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/vm.c b/libguile/vm.c index e8f8ddf01..b9d613a96 100644 --- a/libguile/vm.c +++ b/libguile/vm.c @@ -401,9 +401,9 @@ really_make_boot_program (long nargs) static SCM vm_make_boot_program (long nargs) { - static SCM programs[NUM_BOOT_PROGS] = { 0, }; + static SCM programs[NUM_BOOT_PROGS] = { SCM_BOOL_F, }; - if (SCM_UNLIKELY (!programs[0])) + if (SCM_UNLIKELY (scm_is_false (programs[0]))) { int i; for (i = 0; i < NUM_BOOT_PROGS; i++) |