[glom] Remove return in void method.



commit e85d6ca133e562a24c4222a7195adc9f60b95807
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Feb 9 17:35:05 2016 +0100

    Remove return in void method.
    
    Why didn't the compiler catch this?

 glom/mode_data/box_data_list.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glom/mode_data/box_data_list.cc b/glom/mode_data/box_data_list.cc
index 1eb8171..8011736 100644
--- a/glom/mode_data/box_data_list.cc
+++ b/glom/mode_data/box_data_list.cc
@@ -352,12 +352,12 @@ Gnome::Gda::Value Box_Data_List::get_entered_field_data(const std::shared_ptr<co
 
 void Box_Data_List::set_entered_field_data(const std::shared_ptr<const LayoutItem_Field>& field, const 
Gnome::Gda::Value& value)
 {
-  return m_AddDel.set_value_selected(field, value);
+  m_AddDel.set_value_selected(field, value);
 }
 
 void Box_Data_List::set_entered_field_data(const Gtk::TreeModel::iterator& row, const std::shared_ptr<const 
LayoutItem_Field>& field, const Gnome::Gda::Value& value)
 {
-  return m_AddDel.set_value(row, field, value);
+  m_AddDel.set_value(row, field, value);
 }
 
 bool Box_Data_List::get_showing_multiple_records() const


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]