From 1d66b00acf42b1b04347d70b4d468466e7e4ae30 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 31 Oct 2024 16:19:28 +0200 Subject: [PATCH] Fix unused variable warning (#503) --- src/module/lib_handle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/lib_handle.cc b/src/module/lib_handle.cc index c824367f..4e4134a6 100644 --- a/src/module/lib_handle.cc +++ b/src/module/lib_handle.cc @@ -68,7 +68,7 @@ auto LibHandle::TestHang() -> Local { // NOLINTNEXTLINE(readability-convert-member-functions-to-static) auto LibHandle::TestOOM() -> Local { Isolate* isolate = Isolate::GetCurrent(); - for (int ii = 0; ; ++ii) { + for (;;) { Array::New(isolate, 128); } return {};