|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49729 - branches/release/boost/date_time
From: andrey.semashev_at_[hidden]
Date: 2008-11-13 15:10:25
Author: andysem
Date: 2008-11-13 15:10:23 EST (Thu, 13 Nov 2008)
New Revision: 49729
URL: http://svn.boost.org/trac/boost/changeset/49729
Log:
Silenced some warnings about unreferenced formal parameters.
Text files modified:
branches/release/boost/date_time/date_parsing.hpp | 4 ++--
branches/release/boost/date_time/local_timezone_defs.hpp | 2 +-
branches/release/boost/date_time/period_parser.hpp | 2 +-
branches/release/boost/date_time/time_system_split.hpp | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
Modified: branches/release/boost/date_time/date_parsing.hpp
==============================================================================
--- branches/release/boost/date_time/date_parsing.hpp (original)
+++ branches/release/boost/date_time/date_parsing.hpp 2008-11-13 15:10:23 EST (Thu, 13 Nov 2008)
@@ -210,7 +210,7 @@
inline
date_type
from_stream_type(iterator_type& beg,
- iterator_type& end,
+ iterator_type& /* end */,
std::string)
{
return parse_date<date_type>(*beg);
@@ -246,7 +246,7 @@
inline
date_type
from_stream_type(iterator_type& beg,
- iterator_type& end,
+ iterator_type& /* end */,
std::wstring) {
std::wstring ws = *beg;
std::ostringstream ss;
Modified: branches/release/boost/date_time/local_timezone_defs.hpp
==============================================================================
--- branches/release/boost/date_time/local_timezone_defs.hpp (original)
+++ branches/release/boost/date_time/local_timezone_defs.hpp 2008-11-13 15:10:23 EST (Thu, 13 Nov 2008)
@@ -66,7 +66,7 @@
if (y < 2007) return Apr;
return Mar;
}
- static day_of_week_type end_day(year_type y) {return Sunday;}
+ static day_of_week_type end_day(year_type) {return Sunday;}
static month_type end_month(year_type y)
{
if (y < 2007) return Oct;
Modified: branches/release/boost/date_time/period_parser.hpp
==============================================================================
--- branches/release/boost/date_time/period_parser.hpp (original)
+++ branches/release/boost/date_time/period_parser.hpp 2008-11-13 15:10:23 EST (Thu, 13 Nov 2008)
@@ -120,7 +120,7 @@
period_type get_period(stream_itr_type& sitr,
stream_itr_type& stream_end,
std::ios_base& a_ios,
- const period_type& p,
+ const period_type& /* p */,
const duration_type& dur_unit,
const facet_type& facet) const
{
Modified: branches/release/boost/date_time/time_system_split.hpp
==============================================================================
--- branches/release/boost/date_time/time_system_split.hpp (original)
+++ branches/release/boost/date_time/time_system_split.hpp 2008-11-13 15:10:23 EST (Thu, 13 Nov 2008)
@@ -76,7 +76,7 @@
static time_rep_type get_time_rep(const date_type& day,
const time_duration_type& tod,
- date_time::dst_flags dst=not_dst)
+ date_time::dst_flags /* dst */ = not_dst)
{
if(day.is_special() || tod.is_special()) {
if(day.is_not_a_date() || tod.is_not_a_date_time()) {
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