aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2024-05-23 13:54:48 +0800
committerPo Lu2024-05-23 13:54:48 +0800
commitad0b9b9ab5dc58ee4e6277b642b325970c63a4f7 (patch)
treeee6c9a4fe04245fe45c5acb82bca180029922ca1 /src
parent599504a87daaaaa868ec3b1afa256e1b7ceee193 (diff)
downloademacs-ad0b9b9ab5dc58ee4e6277b642b325970c63a4f7.tar.gz
emacs-ad0b9b9ab5dc58ee4e6277b642b325970c63a4f7.zip
; * src/unexelf.c (unexec): Fix compiler warning.
Diffstat (limited to 'src')
-rw-r--r--src/unexelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index feb26ffaeaf..a9a8f2d6ce9 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -306,6 +306,8 @@ unexec (const char *new_name, const char *old_name)
306 old_bss_seg = seg; 306 old_bss_seg = seg;
307 } 307 }
308 eassume (old_bss_seg); 308 eassume (old_bss_seg);
309 if (!old_bss_seg)
310 emacs_abort ();
309 311
310 /* Note that old_bss_addr may be lower than the first bss section 312 /* Note that old_bss_addr may be lower than the first bss section
311 address, since the section may need aligning. */ 313 address, since the section may need aligning. */