]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify GCC when compiling unexelf.c on Fedora 30
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 May 2019 22:06:39 +0000 (15:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 30 May 2019 22:29:50 +0000 (15:29 -0700)
* src/unexelf.c (unexec): Pacify GCC 9.

src/unexelf.c

index c63a8d03c22135d8ca6707d48a9c6b7e063e0a91..6d19bf1fb9f9a4d66db9618a0203f9b79274b6de 100644 (file)
@@ -304,6 +304,7 @@ unexec (const char *new_name, const char *old_name)
              || seg->p_vaddr > old_bss_seg->p_vaddr))
        old_bss_seg = seg;
     }
+  eassume (old_bss_seg);
 
   /* Note that old_bss_addr may be lower than the first bss section
      address, since the section may need aligning.  */