[Boost-bugs] [Boost C++ Libraries] #5250: Tiny warning removal for date_time

Subject: [Boost-bugs] [Boost C++ Libraries] #5250: Tiny warning removal for date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-01 15:06:20


#5250: Tiny warning removal for date_time
-------------------------------------+--------------------------------------
 Reporter: chrisj | Owner: az_sw_dude
     Type: Patches | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The attached patch changes 'if ((week == 53))' to 'if (week == 53)'. This
 is because clang++ warns about the double brackets.

 It warns because double brackets are the traditional way of stopping the
 warning in statements like ' if (week = 53) ' (notice single =).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5250>
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:05 UTC