Author: kib
Date: Fri Nov 23 18:15:23 2018
New Revision: 340842
URL: https://svnweb.freebsd.org/changeset/base/340842

Log:
  Silence gcc warnings.
  
  Reported by:  emaste
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/libexec/rtld-elf/amd64/reloc.c

Modified: head/libexec/rtld-elf/amd64/reloc.c
==============================================================================
--- head/libexec/rtld-elf/amd64/reloc.c Fri Nov 23 16:45:07 2018        
(r340841)
+++ head/libexec/rtld-elf/amd64/reloc.c Fri Nov 23 18:15:23 2018        
(r340842)
@@ -138,6 +138,9 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int
        int r;
 
        r = -1;
+       symval = 0;
+       def = NULL;
+
        /*
         * The dynamic loader may be called from a thread, we have
         * limited amounts of stack available so we cannot use alloca().
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to