Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 19b0c47330a04e639d4bd8602bc1475486803ce9..ed31f6ffaea53d89ec428d82373bdab258b6b75d 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -16785,7 +16785,7 @@ TEST(TryFinallyMessage) { |
" var x = 0; \n" |
" x++; \n" // Trigger an IC initialization here. |
"} \n"; |
- Local<Value> result = CompileRun(trigger_ic); |
+ CompileRun(trigger_ic); |
CHECK(try_catch.HasCaught()); |
Local<Message> message = try_catch.Message(); |
CHECK(!message.IsEmpty()); |
@@ -16804,7 +16804,7 @@ TEST(TryFinallyMessage) { |
" x++; \n" |
" throw new Error('again'); \n" // This is the new uncaught error. |
"} \n"; |
- Local<Value> result = CompileRun(throw_again); |
+ CompileRun(throw_again); |
CHECK(try_catch.HasCaught()); |
Local<Message> message = try_catch.Message(); |
CHECK(!message.IsEmpty()); |