Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/alpha appease gcc -Wuninitialized
details: https://anonhg.NetBSD.org/src/rev/883fbae7f4ac
branches: trunk
changeset: 581861:883fbae7f4ac
user: fair <fair%NetBSD.org@localhost>
date: Wed Jun 08 00:19:18 2005 +0000
description:
appease gcc -Wuninitialized
diffstat:
libexec/ld.elf_so/arch/alpha/alpha_reloc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f32208bd5086 -r 883fbae7f4ac libexec/ld.elf_so/arch/alpha/alpha_reloc.c
--- a/libexec/ld.elf_so/arch/alpha/alpha_reloc.c Tue Jun 07 22:21:57 2005 +0000
+++ b/libexec/ld.elf_so/arch/alpha/alpha_reloc.c Wed Jun 08 00:19:18 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: alpha_reloc.c,v 1.25 2005/05/25 13:39:46 skrll Exp $ */
+/* $NetBSD: alpha_reloc.c,v 1.26 2005/06/08 00:19:18 fair Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -199,7 +199,7 @@
#ifdef COMBRELOC
unsigned long lastsym = -1;
#endif
- Elf_Addr target;
+ Elf_Addr target = -1;
for (rela = obj->rela; rela < obj->relalim; rela++) {
Elf_Addr *where;
Home |
Main Index |
Thread Index |
Old Index