build.zig: remove an unneeded 'else unreachable'

removed a TODO 🎊
This commit is contained in:
Meghan Denny 2023-11-26 01:18:13 -08:00 committed by Andrew Kelley
parent 50bbb9d960
commit f29302f915

View File

@ -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 {