diff options
author | Steve Chamberlain <steve@cygnus> | 1991-07-31 00:37:42 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-07-31 00:37:42 +0000 |
commit | 06850bead6d946bb14e77693fa1d4613073c35c0 (patch) | |
tree | dd65437bb70bd6060197e9a597d0aae5a67799d4 /ld | |
parent | 67c060c306c3d79fdfb03035879d8bb539e96acc (diff) | |
download | gdb-06850bead6d946bb14e77693fa1d4613073c35c0.zip gdb-06850bead6d946bb14e77693fa1d4613073c35c0.tar.gz gdb-06850bead6d946bb14e77693fa1d4613073c35c0.tar.bz2 |
Initialized a variable
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ldlang.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index d77a713..1ffad73 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; |