From 06850bead6d946bb14e77693fa1d4613073c35c0 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Wed, 31 Jul 1991 00:37:42 +0000 Subject: [PATCH] Initialized a variable --- ld/ldlang.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ld/ldlang.c b/ld/ldlang.c index d77a7134eb1..1ffad73e504 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1627,15 +1627,16 @@ DEFUN_VOID(lang_check) bfd * input_bfd; unsigned long input_machine; enum bfd_architecture input_architecture; - char *out_arch, *out_arch2; +CONST char *out_arch; + char *out_arch2; for (file = file_chain.head; file != (lang_statement_union_type *)NULL; file=file->input_statement.next) { - unsigned long ldfile_new_output_machine; - enum bfd_architecture ldfile_new_output_architecture; + unsigned long ldfile_new_output_machine = 0; + enum bfd_architecture ldfile_new_output_architecture = bfd_arch_unknown; input_bfd = file->input_statement.the_bfd; -- 2.30.2