From 0eb71e680b335628756d7e1406bc1030f8b9ff59 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Thu, 30 Apr 2026 15:35:15 +0200 Subject: [PATCH] os: fix unused variable in sleeping JS implementation (#27035) --- vlib/os/sleeping.js.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/os/sleeping.js.v b/vlib/os/sleeping.js.v index 6274523ba..bb2735c3c 100644 --- a/vlib/os/sleeping.js.v +++ b/vlib/os/sleeping.js.v @@ -5,4 +5,6 @@ fn sleep_ms(dur i64) { #let now = new Date().getTime() #let toWait = BigInt(dur) #while (new Date().getTime() < now + Number(toWait)) {} + + _ = dur // unused } -- 2.39.5