Date: Mon, 26 Nov 2018 10:53:17 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r340937 - stable/11/libexec/rtld-elf/amd64 Message-ID: <201811261053.wAQArHuT010302@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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().
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811261053.wAQArHuT010302>