From 784e89fd4b081900baaa9052273bccefc91d01ed Mon Sep 17 00:00:00 2001 From: Toufiq Shishir Date: Tue, 24 Feb 2026 01:26:27 +0600 Subject: [PATCH] fix: remove null argument from std.debug.lockStderr call inside std.json.Value.dump --- lib/std/json/dynamic.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/json/dynamic.zig b/lib/std/json/dynamic.zig index e38ea9cb17..bebdf7e588 100644 --- a/lib/std/json/dynamic.zig +++ b/lib/std/json/dynamic.zig @@ -47,7 +47,7 @@ pub const Value = union(enum) { } pub fn dump(v: Value) void { - const stderr = std.debug.lockStderr(&.{}, null); + const stderr = std.debug.lockStderr(&.{}); defer std.debug.unlockStderr(); json.Stringify.value(v, .{}, &stderr.file_writer.interface) catch return; }