[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 02/11: Remove unused vm_error_unbound

From: Andy Wingo
Subject: [Guile-commits] 02/11: Remove unused vm_error_unbound
Date: Sun, 17 Jun 2018 07:46:21 -0400 (EDT)

wingo pushed a commit to branch master
in repository guile.

commit 3b463516ef2d4428ae51ff81e72e87a210289673
Author: Andy Wingo <address@hidden>
Date:   Mon Jun 11 21:21:30 2018 +0200

    Remove unused vm_error_unbound
    * libguile/vm.c: Remove unused function.
 libguile/vm.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/libguile/vm.c b/libguile/vm.c
index 7ebebd1..b4bcbe3 100644
--- a/libguile/vm.c
+++ b/libguile/vm.c
@@ -429,7 +429,6 @@ static void vm_throw_with_value_and_data (SCM val, SCM 
key_subr_and_message) SCM
 static void vm_error (const char *msg, SCM arg) SCM_NORETURN;
 static void vm_error_bad_instruction (scm_t_uint32 inst) SCM_NORETURN 
-static void vm_error_unbound (SCM sym) SCM_NORETURN SCM_NOINLINE;
 static void vm_error_apply_to_non_list (SCM x) SCM_NORETURN SCM_NOINLINE;
 static void vm_error_kwargs_missing_value (SCM proc, SCM kw) SCM_NORETURN 
 static void vm_error_kwargs_invalid_keyword (SCM proc, SCM obj) SCM_NORETURN 
@@ -491,14 +490,6 @@ vm_error_bad_instruction (scm_t_uint32 inst)
 static void
-vm_error_unbound (SCM sym)
-  scm_error_scm (scm_misc_error_key, SCM_BOOL_F,
-                 scm_from_latin1_string ("Unbound variable: ~s"),
-                 scm_list_1 (sym), SCM_BOOL_F);
-static void
 vm_error_apply_to_non_list (SCM x)
   scm_error (scm_arg_type_key, "apply", "Apply to non-list: ~S",

reply via email to

[Prev in Thread] Current Thread [Next in Thread]