vm_make_boot_program initializer fix
authorAndy Wingo <wingo@pobox.com>
Fri, 13 May 2011 11:20:39 +0000 (13:20 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 13 May 2011 13:29:30 +0000 (15:29 +0200)
* libguile/vm.c (vm_make_boot_program): Use #f as the "I don't have a
  program" value.

libguile/vm.c

index e8f8ddf..b9d613a 100644 (file)
@@ -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++)