8338565: Test crashed: assert(is_path_empty()) failed: invariant

Reviewed-by: egahlin
This commit is contained in:
Markus Grönlund 2024-11-12 15:45:23 +00:00
parent e5eaa7f1eb
commit 81752c4bcc

View File

@ -109,8 +109,6 @@ static void close_emergency_dump_file() {
} }
static const char* create_emergency_dump_path() { static const char* create_emergency_dump_path() {
assert(is_path_empty(), "invariant");
const size_t path_len = get_dump_directory(); const size_t path_len = get_dump_directory();
if (path_len == 0) { if (path_len == 0) {
return nullptr; return nullptr;