Silence gcc warnings.

Reported by:	emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2018-11-23 18:15:23 +00:00
parent 30c5db2b88
commit bac111cc74

View file

@ -138,6 +138,9 @@ reloc_non_plt(Obj_Entry *obj, Obj_Entry *obj_rtld, int flags,
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().