summaryrefslogtreecommitdiffstats
path: root/tests/019
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-03-23 00:12:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-03-23 00:12:46 -0700
commit0d8638e43da65169c3d46273c6c9c8239f54723f (patch)
tree49865cd42a717e3325adc068b2101574622705a3 /tests/019
parent502c6b4d4a1e29c51c80a39a6eaef27a3f5c0d89 (diff)
downloadtxr-0d8638e43da65169c3d46273c6c9c8239f54723f.tar.gz
txr-0d8638e43da65169c3d46273c6c9c8239f54723f.tar.bz2
txr-0d8638e43da65169c3d46273c6c9c8239f54723f.zip
tests: squelch unused variable warnings.
* tests/011/patmatch.tl, * tests/019/pct-fun.tl: Disable unused warnings around file self-compilation. * tests/011/tree-bind.tl: Fix one unused variable instance using interned symbol. * tests/011/compile.tl: Disable unused warnings around all file compilation. * tests/012/lambda.tl: Use the parameter of one trivial lambda. * tests/common.tl: Disable unused warnings around compiled tests.
Diffstat (limited to 'tests/019')
-rw-r--r--tests/019/pct-fun.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/019/pct-fun.tl b/tests/019/pct-fun.tl
index eae0d9bb..6e45f299 100644
--- a/tests/019/pct-fun.tl
+++ b/tests/019/pct-fun.tl
@@ -37,5 +37,6 @@
(compile-only
(eval-only
- (compile-file (base-name *load-path*) "temp.tlo")
+ (with-compile-opts (nil unused)
+ (compile-file (base-name *load-path*) "temp.tlo"))
(remove-path "temp.tlo")))