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

This commit is contained in:
Toufiq Shishir 2026-02-24 01:26:27 +06:00 committed by Alex Rønne Petersen
parent 360bc28c96
commit 784e89fd4b

View file

@ -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;
}