; * src/unexelf.c (unexec): Fix compiler warning.

This commit is contained in:
Po Lu 2024-05-23 13:54:48 +08:00
parent 599504a87d
commit ad0b9b9ab5

View file

@ -306,6 +306,8 @@ unexec (const char *new_name, const char *old_name)
old_bss_seg = seg;
}
eassume (old_bss_seg);
if (!old_bss_seg)
emacs_abort ();
/* Note that old_bss_addr may be lower than the first bss section
address, since the section may need aligning. */