diff options
| author | aymeric <aymeric@NetBSD.org> | 2001-10-08 22:11:31 +0000 |
|---|---|---|
| committer | aymeric <aymeric@NetBSD.org> | 2001-10-08 22:11:31 +0000 |
| commit | fa554f783e5e36fbfd4978d64136a3fc439f3f1c (patch) | |
| tree | 31cb60deca6c97fb12b8c64315a2534b9a4271a9 /gnu/usr.bin/ld | |
| parent | 866fad714d515b4839ca3973ab7d81d2c9029676 (diff) | |
shut up newer gcc warning about (actually mutually exclusive)
"possibly uninitialized" variables.
Diffstat (limited to 'gnu/usr.bin/ld')
| -rw-r--r-- | gnu/usr.bin/ld/ld/lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/ld/lib.c b/gnu/usr.bin/ld/ld/lib.c index 5a2e20f407a..f16faab1018 100644 --- a/gnu/usr.bin/ld/ld/lib.c +++ b/gnu/usr.bin/ld/ld/lib.c @@ -1,4 +1,4 @@ -/* $NetBSD: lib.c,v 1.24 2001/10/08 22:09:20 aymeric Exp $ */ +/* $NetBSD: lib.c,v 1.25 2001/10/08 22:11:31 aymeric Exp $ */ /* * - library routines @@ -604,8 +604,8 @@ read_shared_object(fd, entry) { struct _dynamic dyn; struct section_dispatch_table sdt; - struct nlist *np; - struct nzlist *nzp; + struct nlist *np = NULL; + struct nzlist *nzp = NULL; int n, i, has_nz = 0; if (!(entry->flags & E_HEADER_VALID)) |
