mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 05:24:40 +01:00
fix: remove null argument from std.debug.lockStderr call inside std.json.Value.dump
This commit is contained in:
parent
360bc28c96
commit
784e89fd4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue