summaryrefslogtreecommitdiffstats
path: root/protsym.c
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2021-07-18 21:06:40 -0400
committerKaz Kylheku <kaz@kylheku.com>2021-07-27 22:28:09 -0700
commit8384b0fbcbf329dd7f234546f50f2600a5c8b6b4 (patch)
treedd46db98087b5668202055a400f1ef23fa1fdef1 /protsym.c
parented02938910a99a4f098bc4016b04362919b84840 (diff)
downloadtxr-8384b0fbcbf329dd7f234546f50f2600a5c8b6b4.tar.gz
txr-8384b0fbcbf329dd7f234546f50f2600a5c8b6b4.tar.bz2
txr-8384b0fbcbf329dd7f234546f50f2600a5c8b6b4.zip
places: remove unnecessary zap_s variable.
The zap_s variable is a vestige of op_modplace. It must have been missed when op_modplace was removed in commit 209e731429a0fd890ec6d922c1efc6f02d81a032. * eval.c (zap_s): Delete variable. (eval_init): Remove initialization of zap_s. * protsym.c (zap_s): Remove extern variable declaration. (protected_sym): Remove reference to zap_s.
Diffstat (limited to 'protsym.c')
-rw-r--r--protsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protsym.c b/protsym.c
index f8922285..9c22f444 100644
--- a/protsym.c
+++ b/protsym.c
@@ -150,7 +150,7 @@ extern val vm_closure_s, vm_desc_s, void_s, warning_s, wchar_s;
extern val weak_and_k, weak_keys_k, weak_or_k, weak_vals_k, when_s;
extern val while_s, while_star_s, whole_k, width_s, wild_s;
extern val word_char_k, wrap_k, wstr_d_s, wstr_s, year_s;
-extern val zap_s, zarray_s, zchar_s, zerop_s, zeroplus_s;
+extern val zarray_s, zchar_s, zerop_s, zeroplus_s;
extern val zone_s;
#if HAVE_DLOPEN
@@ -306,7 +306,7 @@ val *protected_sym[] = {
&weak_and_k, &weak_keys_k, &weak_or_k, &weak_vals_k, &when_s,
&while_s, &while_star_s, &whole_k, &width_s, &wild_s,
&word_char_k, &wrap_k, &wstr_d_s, &wstr_s, &year_s,
- &zap_s, &zarray_s, &zchar_s, &zerop_s, &zeroplus_s,
+ &zarray_s, &zchar_s, &zerop_s, &zeroplus_s,
&zone_s,
#if HAVE_DLOPEN