mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
fix: remove null argument from std.debug.lockStderr call inside std.json.Value.dump
This commit is contained in:
committed by
Alex Rønne Petersen
parent
360bc28c96
commit
784e89fd4b
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user