Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2007-11-03 12:45:50


Author: danieljames
Date: 2007-11-03 12:45:49 EDT (Sat, 03 Nov 2007)
New Revision: 40722
URL: http://svn.boost.org/trac/boost/changeset/40722

Log:
Remove some unused variables.
Text files modified:
   sandbox/unordered/libs/unordered/test/unordered/assign_tests.cpp | 2 --
   sandbox/unordered/libs/unordered/test/unordered/insert_tests.cpp | 2 --
   2 files changed, 0 insertions(+), 4 deletions(-)

Modified: sandbox/unordered/libs/unordered/test/unordered/assign_tests.cpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/unordered/assign_tests.cpp (original)
+++ sandbox/unordered/libs/unordered/test/unordered/assign_tests.cpp 2007-11-03 12:45:49 EDT (Sat, 03 Nov 2007)
@@ -50,8 +50,6 @@
 template <class T>
 void assign_tests2(T* = 0)
 {
- typename T::hasher hf;
- typename T::key_equal eq;
     typename T::hasher hf1(1);
     typename T::hasher hf2(2);
     typename T::key_equal eq1(1);

Modified: sandbox/unordered/libs/unordered/test/unordered/insert_tests.cpp
==============================================================================
--- sandbox/unordered/libs/unordered/test/unordered/insert_tests.cpp (original)
+++ sandbox/unordered/libs/unordered/test/unordered/insert_tests.cpp 2007-11-03 12:45:49 EDT (Sat, 03 Nov 2007)
@@ -192,7 +192,6 @@
 
     {
         X x;
- const_iterator pos = x.begin();
 
         test::random_values<X> v(1000);
         x.insert(v.begin(), v.end());
@@ -205,7 +204,6 @@
 
     {
         X x;
- const_iterator pos = x.begin();
 
         test::random_values<X> v(1000);
         x.insert(test::input_iterator(v.begin()), test::input_iterator(v.end()));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk