mirror of
https://github.com/ziglang/zig.git
synced 2025-01-22 01:46:29 +00:00
build.zig: remove an unneeded 'else unreachable'
removed a TODO 🎊
This commit is contained in:
parent
50bbb9d960
commit
f29302f915
@ -874,7 +874,7 @@ fn findConfigH(b: *std.Build, config_h_path_option: ?[]const u8) ?[]const u8 {
|
||||
return null;
|
||||
}
|
||||
check_dir = new_check_dir.?;
|
||||
} else unreachable; // TODO should not need `else unreachable`.
|
||||
}
|
||||
}
|
||||
|
||||
fn parseConfigH(b: *std.Build, config_h_text: []const u8) ?CMakeConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user