]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unused static constant.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:30 +0000 (11:08 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Feb 2010 11:08:30 +0000 (11:08 +0000)
HOURS_PER_DAY was used only in the part of the code which was moved to
src/common/datetimefmt.cpp and some compilers (e.g. IRIX mipsPro) now warn
about an unused static constant in datetime.cpp, so just remove it from there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp

index 3f036e61da28be80f9e2164701ad362ecfb2d5ee..e9f1935bb37971e06c6b0b95bf4acb6235bee1cf 100644 (file)
@@ -281,8 +281,6 @@ static const int SEC_PER_MIN = 60;
 
 static const int MIN_PER_HOUR = 60;
 
-static const int HOURS_PER_DAY = 24;
-
 static const long SECONDS_PER_DAY = 86400l;
 
 static const int DAYS_PER_WEEK = 7;