summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2023-12-12 10:26:06 +0900
committerYusuke Endoh <mame@ruby-lang.org>2023-12-12 10:31:37 +0900
commit535eb4de1109f5b8a8bde063dacc4c6fabf2322c (patch)
treef38c564171900455a243c0531cc018c27a4804b0
parent6414f260fc64878dc32f6899f5cecfac9908d26d (diff)
Remove unused statement
... to disable a warning: assigned but unused variable - expected
-rw-r--r--test/-ext-/thread/test_instrumentation_api.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/-ext-/thread/test_instrumentation_api.rb b/test/-ext-/thread/test_instrumentation_api.rb
index 4b2edae21a..9a3b67fa10 100644
--- a/test/-ext-/thread/test_instrumentation_api.rb
+++ b/test/-ext-/thread/test_instrumentation_api.rb
@@ -58,7 +58,6 @@ class TestThreadInstrumentation < Test::Unit::TestCase
threads = nil
full_timeline = record do
threads = threaded_cpu_bound_work(1.0)
- expected = cpu_bound_work(1.0)
results = threads.map(&:value)
results.each do |r|
refute_equal false, r