about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ia64/dl-static.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-12-22 20:30:32 +0000
committerRoland McGrath <roland@gnu.org>2003-12-22 20:30:32 +0000
commitd3e4ed994c517460a344153aa0a7d48cbcfa0237 (patch)
tree8059881899a8fe333594edcd1f3f627e9cea2219 /sysdeps/unix/sysv/linux/ia64/dl-static.c
parent0d7f2f21e42afdf9b4c171851991f8bb1895b021 (diff)
downloadglibc-d3e4ed994c517460a344153aa0a7d48cbcfa0237.tar.gz
glibc-d3e4ed994c517460a344153aa0a7d48cbcfa0237.tar.xz
glibc-d3e4ed994c517460a344153aa0a7d48cbcfa0237.zip
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init):
	Initialize REF before passing it to _dl_lookup_symbol.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/dl-static.c')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/dl-static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/dl-static.c b/sysdeps/unix/sysv/linux/ia64/dl-static.c
index b51b2f255a..6489068f48 100644
--- a/sysdeps/unix/sysv/linux/ia64/dl-static.c
+++ b/sysdeps/unix/sysv/linux/ia64/dl-static.c
@@ -49,7 +49,7 @@ static void *variables[] =
 void
 _dl_static_init (struct link_map *map)
 {
-  const ElfW(Sym) *ref;
+  const ElfW(Sym) *ref = NULL;
   lookup_t loadbase;
   void (*f) (void *[]);