From 62e1b10946d52cab1db00a0af2e362a737f7deaa Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Fri, 24 Nov 2023 09:54:16 -0800 Subject: [PATCH] chore: pacify const warning in example --- examples/basic.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic.zig b/examples/basic.zig index ae6b561..fff0f71 100644 --- a/examples/basic.zig +++ b/examples/basic.zig @@ -28,7 +28,7 @@ export fn count_vowels() i32 { } // use persistent variables owned by a plugin instance (stored in-memory between function calls) - var var_a_optional = plugin.getVar("a") catch unreachable; + const var_a_optional = plugin.getVar("a") catch unreachable; plugin.log(.Debug, "plugin var get"); if (var_a_optional == null) {