|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49728 - trunk/boost/date_time
From: andrey.semashev_at_[hidden]
Date: 2008-11-13 15:01:19
Author: andysem
Date: 2008-11-13 15:01:18 EST (Thu, 13 Nov 2008)
New Revision: 49728
URL: http://svn.boost.org/trac/boost/changeset/49728
Log:
Silenced some warnings about unused formal parameters.
Text files modified:
trunk/boost/date_time/date_parsing.hpp | 4 ++--
trunk/boost/date_time/local_timezone_defs.hpp | 2 +-
trunk/boost/date_time/period_parser.hpp | 2 +-
trunk/boost/date_time/time_system_split.hpp | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
Modified: trunk/boost/date_time/date_parsing.hpp
==============================================================================
--- trunk/boost/date_time/date_parsing.hpp (original)
+++ trunk/boost/date_time/date_parsing.hpp 2008-11-13 15:01:18 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: trunk/boost/date_time/local_timezone_defs.hpp
==============================================================================
--- trunk/boost/date_time/local_timezone_defs.hpp (original)
+++ trunk/boost/date_time/local_timezone_defs.hpp 2008-11-13 15:01:18 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: trunk/boost/date_time/period_parser.hpp
==============================================================================
--- trunk/boost/date_time/period_parser.hpp (original)
+++ trunk/boost/date_time/period_parser.hpp 2008-11-13 15:01:18 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: trunk/boost/date_time/time_system_split.hpp
==============================================================================
--- trunk/boost/date_time/time_system_split.hpp (original)
+++ trunk/boost/date_time/time_system_split.hpp 2008-11-13 15:01:18 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