diff --git a/include/etl/unordered_map.h b/include/etl/unordered_map.h index 5dc63314..57b2a7f6 100644 --- a/include/etl/unordered_map.h +++ b/include/etl/unordered_map.h @@ -781,8 +781,6 @@ namespace etl bucket_t* pbucket = pbuckets + index; bucket_t& bucket = *pbucket; - size_t s = pbuckets->size(); - // The first one in the bucket? if (bucket.empty()) { @@ -843,7 +841,7 @@ namespace etl ///\param position The position to insert at. ///\param value The value to insert. //********************************************************************* - iterator insert(const_iterator position, const value_type& key_value_pair) + iterator insert(const_iterator, const value_type& key_value_pair) { return insert(key_value_pair).first; } diff --git a/include/etl/unordered_multimap.h b/include/etl/unordered_multimap.h index 4db58e5a..701d5507 100644 --- a/include/etl/unordered_multimap.h +++ b/include/etl/unordered_multimap.h @@ -726,7 +726,7 @@ namespace etl ///\param position The position to insert at. ///\param value The value to insert. //********************************************************************* - iterator insert(const_iterator position, const value_type& key_value_pair) + iterator insert(const_iterator, const value_type& key_value_pair) { return insert(key_value_pair); } diff --git a/include/etl/unordered_set.h b/include/etl/unordered_set.h index b1541ee5..55ecc16d 100644 --- a/include/etl/unordered_set.h +++ b/include/etl/unordered_set.h @@ -725,7 +725,7 @@ namespace etl ///\param position The position to insert at. ///\param value The value to insert. //********************************************************************* - iterator insert(const_iterator position, const value_type& key) + iterator insert(const_iterator, const value_type& key) { return insert(key).first; }