authorgravatar for toufiqshishir@outlook.comToufiq Shishir <toufiqshishir@outlook.com> 2026-02-24 01:26:27+06:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-02-24 04:23:25+01:00
log784e89fd4b081900baaa9052273bccefc91d01ed
tree072b4a1d0b1a2b92b78fd17c7ef25343475bf390
parent360bc28c9646ef6bcd6136f8a088930201e02012

fix: remove null argument from std.debug.lockStderr call inside std.json.Value.dump


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/json/dynamic.zig+1-1
...@@ -47,7 +47,7 @@ pub const Value = union(enum) {...@@ -47,7 +47,7 @@ pub const Value = union(enum) {
47 }47 }
4848
49 pub fn dump(v: Value) void {49 pub fn dump(v: Value) void {
50 const stderr = std.debug.lockStderr(&.{}, null);50 const stderr = std.debug.lockStderr(&.{});
51 defer std.debug.unlockStderr();51 defer std.debug.unlockStderr();
52 json.Stringify.value(v, .{}, &stderr.file_writer.interface) catch return;52 json.Stringify.value(v, .{}, &stderr.file_writer.interface) catch return;
53 }53 }