Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65071 - sandbox/chrono/libs/chrono/test
From: vicente.botet_at_[hidden]
Date: 2010-08-28 04:13:33


Author: viboes
Date: 2010-08-28 04:13:26 EDT (Sat, 28 Aug 2010)
New Revision: 65071
URL: http://svn.boost.org/trac/boost/changeset/65071

Log:
* remove unused argument warnings
Text files modified:
   sandbox/chrono/libs/chrono/test/common_type_fails.cpp | 6 +-----
   sandbox/chrono/libs/chrono/test/common_type_test.cpp | 6 +++---
   2 files changed, 4 insertions(+), 8 deletions(-)

Modified: sandbox/chrono/libs/chrono/test/common_type_fails.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/common_type_fails.cpp (original)
+++ sandbox/chrono/libs/chrono/test/common_type_fails.cpp 2010-08-28 04:13:26 EDT (Sat, 28 Aug 2010)
@@ -34,8 +34,4 @@
 #endif
 //~ AC* ac;
    
-
-int test_main( int argc, char * argv[] )
-{
- return 0;
-}
\ No newline at end of file
+
\ No newline at end of file

Modified: sandbox/chrono/libs/chrono/test/common_type_test.cpp
==============================================================================
--- sandbox/chrono/libs/chrono/test/common_type_test.cpp (original)
+++ sandbox/chrono/libs/chrono/test/common_type_test.cpp 2010-08-28 04:13:26 EDT (Sat, 28 Aug 2010)
@@ -28,10 +28,10 @@
 };
 
 template <typename C, typename A>
-void f2(typename boost::common_type<A, C>::type const& rhs) {}
+void f2(typename boost::common_type<A, C>::type const& ) {}
 
 template <typename C, typename A, typename B>
-void f3(typename boost::common_type<C, A, B>::type const& rhs) {}
+void f3(typename boost::common_type<C, A, B>::type const& ) {}
 
 template <typename C, typename A>
 void assignation_2() {
@@ -76,7 +76,7 @@
 C1& declval_C1(){return c1;}
 bool declval_bool(){return true;}
 
-int test_main( int argc, char * argv[] )
+int test_main( int /*argc*/, char * /*argv*/[] )
 {
     assignation_2<C1C2, C1>();
     typedef boost::common_type<C1C2&, C1&>::type T1; // fails if BOOST_COMMON_TYPE_DONT_USE_TYPEOF


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