From: Steve Chamberlain Date: Wed, 31 Jul 1991 00:37:42 +0000 (+0000) Subject: Initialized a variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06850bead6d946bb14e77693fa1d4613073c35c0;p=binutils-gdb.git Initialized a variable --- 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;