Initialized a variable
authorSteve Chamberlain <steve@cygnus>
Wed, 31 Jul 1991 00:37:42 +0000 (00:37 +0000)
committerSteve Chamberlain <steve@cygnus>
Wed, 31 Jul 1991 00:37:42 +0000 (00:37 +0000)
ld/ldlang.c

index d77a7134eb18c233312e491a3c04f2e4967e78a6..1ffad73e5048026f6247eb50feeb8184dcc3e6ae 100644 (file)
@@ -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;