2009-12-02 Rafael Avila de Espindola <espindola@google.com>
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Wed, 2 Dec 2009 18:14:22 +0000 (18:14 +0000)
committerRafael Ávila de Espíndola <respindola@mozilla.com>
Wed, 2 Dec 2009 18:14:22 +0000 (18:14 +0000)
       * incremental.cc (Incremental_inputs_entry): Remove unused argument
       from the get_* methods.

gold/ChangeLog
gold/incremental.cc

index f727c5f0c7881c174bb8b89ace6cda163c309254..02c05543af75226f4f12b86c1dce66b0b98129ce 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
+
+       * incremental.cc (Incremental_inputs_entry): Remove unused argument
+       from the get_* methods.
+
 2009-12-02  Rafael Avila de Espindola  <espindola@google.com>
 
        * incremental-dump.cc (main): Check that the offeset of a script is 0.
index e89372a076337f185fcdc29c18f499e2027dd84b..4af4ef30d9f0c7fc21c7a19bd12b7148e6239425 100644 (file)
@@ -129,27 +129,27 @@ class Incremental_inputs_entry
   static const int data_size = sizeof(Data_type);
 
   elfcpp::Elf_Word
-  get_filename_offset(elfcpp::Elf_Word v)
+  get_filename_offset()
   { return Convert<32, big_endian>::convert_host(this->p_->filename_offset); }
 
   elfcpp::Elf_Word
-  get_data_offset(elfcpp::Elf_Word v)
+  get_data_offset()
   { return Convert<32, big_endian>::convert_host(this->p_->data_offset); }
 
   elfcpp::Elf_Xword
-  get_timestamp_sec(elfcpp::Elf_Xword v)
+  get_timestamp_sec()
   { return Convert<64, big_endian>::convert_host(this->p_->timestamp_sec); }
 
   elfcpp::Elf_Word
-  get_timestamp_nsec(elfcpp::Elf_Word v)
+  get_timestamp_nsec()
   { return Convert<32, big_endian>::convert_host(this->p_->timestamp_nsec); }
 
   elfcpp::Elf_Word
-  get_input_type(elfcpp::Elf_Word v)
+  get_input_type()
   { return Convert<32, big_endian>::convert_host(this->p_->input_type); }
 
   elfcpp::Elf_Word
-  get_reserved(elfcpp::Elf_Word v)
+  get_reserved()
   { return Convert<32, big_endian>::convert_host(this->p_->reserved); }
 
  private: