Re: [Boost-bugs] [Boost C++ Libraries] #4377: Suppress 'unused variable' warnings in functional.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4377: Suppress 'unused variable' warnings in functional.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-23 13:02:55


#4377: Suppress 'unused variable' warnings in functional.hpp
--------------------------------------------------------+-------------------
  Reporter: Marco Guazzone <marco.guazzone@…> | Owner: guwi17
      Type: Patches | Status: closed
 Milestone: Boost 1.44.0 | Component: uBLAS
   Version: Boost 1.44.0 | Severity: Cosmetic
Resolution: fixed | Keywords:
--------------------------------------------------------+-------------------

Comment (by Marco Guazzone <marco.guazzone@…>):

 I missed to comment a parameter.

 In file ''funcitonal.hpp'' (line 1868) the function:
 {{{#!c++
 size_type restrict1 (size_type i, size_type j, size_type size1, size_type
 size2) {
   return (std::max)(j, (std::min) (size1, i));
 }
 }}}
 has a parameter ''size'' which is never used.

 I attach another patch, to be applied after the one I've already uploaded,
 where that parameter is simply commented.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4377#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC