From 3acbd580d42327c626c5ef759215ab4f2f8bc3db Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 9 Jan 2025 08:33:11 +0200 Subject: [PATCH] gg: enable clean compilation without notices for `./v -check-unused-fn-args examples/tetris/` --- vlib/gg/text_rendering.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/gg/text_rendering.c.v b/vlib/gg/text_rendering.c.v index 7d4ae3b4322d67..c0c2d15927cc6e 100644 --- a/vlib/gg/text_rendering.c.v +++ b/vlib/gg/text_rendering.c.v @@ -23,7 +23,7 @@ pub mut: const buff_size = int($d('gg_text_buff_size', 2048)) -fn clear_atlas_callback(uptr voidptr, error int, val int) { +fn clear_atlas_callback(uptr voidptr, error int, _val int) { if error == 1 { // atlas overflow error code fons := unsafe { &fontstash.Context(uptr) } fons.reset_atlas(buff_size, buff_size)