[mlpack-git] master: Fix unused parameter warning. (7bd9c95)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Tue Sep 29 09:33:21 EDT 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/cbeb3ea17262b7c5115247dc217e316c529249b7...f85a9b22f3ce56143943a2488c05c2810d6b2bf3

>---------------------------------------------------------------

commit 7bd9c956ee9900c37edab9839cd81d877f3862e2
Author: Ryan Curtin <ryan at ratml.org>
Date:   Fri Sep 25 11:40:20 2015 -0400

    Fix unused parameter warning.


>---------------------------------------------------------------

7bd9c956ee9900c37edab9839cd81d877f3862e2
 src/mlpack/core/data/serialization_shim.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/core/data/serialization_shim.hpp b/src/mlpack/core/data/serialization_shim.hpp
index bde43c6..f543e04 100644
--- a/src/mlpack/core/data/serialization_shim.hpp
+++ b/src/mlpack/core/data/serialization_shim.hpp
@@ -337,7 +337,7 @@ struct SecondNormalArrayShim
 
   //! A wrapper for make_array().
   template<typename Archive>
-  void serialize(Archive& ar, const unsigned int version)
+  void serialize(Archive& ar, const unsigned int /* version */)
   {
     ar & boost::serialization::make_array(t, len);
   }



More information about the mlpack-git mailing list