From 2804cb713de57d73731bd215c4da122510973cb2 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 30 Oct 2024 19:39:05 +0200 Subject: [PATCH] Fix unused variable warning --- 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 {};