Date: Mon, 26 Nov 2018 10:51:39 +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-12@freebsd.org Subject: svn commit: r340936 - stable/12/libexec/rtld-elf/amd64 Message-ID: <201811261051.wAQApdCQ008319@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Nov 26 10:51:39 2018 New Revision: 340936 URL: https://svnweb.freebsd.org/changeset/base/340936 Log: MFC r340842: Silence gcc warnings. Modified: stable/12/libexec/rtld-elf/amd64/reloc.c Directory Properties: stable/12/ (props changed) Modified: stable/12/libexec/rtld-elf/amd64/reloc.c ============================================================================== --- stable/12/libexec/rtld-elf/amd64/reloc.c Mon Nov 26 10:50:50 2018 (r340935) +++ stable/12/libexec/rtld-elf/amd64/reloc.c Mon Nov 26 10:51:39 2018 (r340936) @@ -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().
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811261051.wAQApdCQ008319>