Author: kib
Date: Mon Nov 26 10:53:17 2018
New Revision: 340937
URL: https://svnweb.freebsd.org/changeset/base/340937

Log:
  MFC r340842:
  Silence gcc warnings.

Modified:
  stable/11/libexec/rtld-elf/amd64/reloc.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/libexec/rtld-elf/amd64/reloc.c
==============================================================================
--- stable/11/libexec/rtld-elf/amd64/reloc.c    Mon Nov 26 10:51:39 2018        
(r340936)
+++ stable/11/libexec/rtld-elf/amd64/reloc.c    Mon Nov 26 10:53:17 2018        
(r340937)
@@ -136,6 +136,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().
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to