BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001116 [uClibc++] Other trivial always 12-13-06 02:06 12-14-06 18:03
Reporter peter_schueller View Status public  
Assigned To gkajmowi
Priority normal Resolution fixed  
Status resolved   Product Version 0.2.0
Summary 0001116: unused parameter warning in map
Description one of the insert methods of map has an unused parameter warning
Additional Information patch:

Index: include/map
===================================================================
--- include/map (revision 1816)
+++ include/map (revision 1817)
@@ -627,9 +627,10 @@
 
        template <class Key, class T, class Compare, class Allocator>
                typename map<Key, T, Compare, Allocator>::iterator
- map<Key, T, Compare, Allocator>::insert(iterator position, const value_type& x)
+ map<Key, T, Compare, Allocator>::insert(iterator, const value_type& x)
        {
- //Just reusing code. It's hard to make improvements over existing algo.
+ // Just reusing code. It's hard to make improvements over existing algo.
+ // We're not using the iterator parameter, but it's just a hint anyway
                insert(x);
                return find(x.first);
        }
Attached Files

- Relationships

- Notes
(0001865)
gkajmowi
12-14-06 18:03

Fixed in SVN.
I've applied the fix suggested to this problem.
 

- Issue History
Date Modified Username Field Change
12-13-06 02:06 peter_schueller New Issue
12-13-06 02:06 peter_schueller Status new => assigned
12-13-06 02:06 peter_schueller Assigned To  => gkajmowi
12-14-06 18:03 gkajmowi Status assigned => resolved
12-14-06 18:03 gkajmowi Fixed in Version  => 0.2.2
12-14-06 18:03 gkajmowi Resolution open => fixed
12-14-06 18:03 gkajmowi Note Added: 0001865


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker