From 2c76e6e1715425ea637156978afd0512a54d5676 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 25 Jul 2026 23:16:33 -0700 Subject: [PATCH] Eliminate unused argument. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1c49c2a..eaa354a 100644 --- a/index.html +++ b/index.html @@ -41,8 +41,8 @@ SPDX-License-Identifier: GPL-3.0-or-later return gl?.drawingBufferHeight < gl?.drawingBufferWidth ? gl?.drawingBufferHeight : gl?.drawingBufferWidth })(new OffscreenCanvas(0, 0)) - function random (length = 32) { - const bytes = crypto.getRandomValues(new Uint8Array(length)) + function random () { + const bytes = crypto.getRandomValues(new Uint8Array(32)) return [...bytes].map(b => b.toString(16).padStart(2, '0')).join('') } -- 2.52.0