diff options
author | Hans Goudey <h.goudey@me.com> | 2022-07-07 16:55:36 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-07-07 16:55:36 +0300 |
commit | 85ef8e194555240d518a7a7e7f06fcc4c47fa8c7 (patch) | |
tree | e25cc480ca5ac15515e75f503f43d90ff9319512 /source | |
parent | a91f9c2c01401285208f2962f3be339a5012ec2a (diff) |
Cleanup: Use C++ style of avoiding unused variable warnings
As documented in the best practices section of the style guide:
https://wiki.blender.org/wiki/Style_Guide/Best_Practice_C_Cpp
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh b/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh index 76c7131e268..6a09d3f84c6 100644 --- a/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh +++ b/source/blender/editors/space_spreadsheet/spreadsheet_data_source.hh @@ -27,9 +27,8 @@ class DataSource { * column. (This can be made a bit more generic in the future when necessary.) */ virtual void foreach_default_column_ids( - FunctionRef<void(const SpreadsheetColumnID &, bool is_extra)> fn) const + FunctionRef<void(const SpreadsheetColumnID &, bool is_extra)> /*fn*/) const { - UNUSED_VARS(fn); } /** @@ -37,9 +36,8 @@ class DataSource { * returned. */ virtual std::unique_ptr<ColumnValues> get_column_values( - const SpreadsheetColumnID &column_id) const + const SpreadsheetColumnID & /*column_id*/) const { - UNUSED_VARS(column_id); return {}; } |