svn commit: r340936 - stable/12/libexec/rtld-elf/amd64
Konstantin Belousov
kib at FreeBSD.org
Mon Nov 26 10:51:40 UTC 2018
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().
More information about the svn-src-stable
mailing list