Minor cleanup and crank up warnings.

This commit is contained in:
Howard Hinnant
2015-10-27 12:14:30 -04:00
parent 333894fc9d
commit 819d2c3575
3 changed files with 2 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ if [ -z "$CXX_LANG" ]
then
CXX_LANG=c++14
fi
OPTIONS="-std=${CXX_LANG} $OPTIONS -I$ROOT"
OPTIONS="-std=${CXX_LANG} $OPTIONS -I$ROOT -Wall"
case $TRIPLE in
*-*-mingw* | *-*-cygwin* | *-*-win*)

3
tz.cpp
View File

@@ -1471,9 +1471,6 @@ find_rule_for_zone(const std::pair<const Rule*, const Rule*>& eqr,
case tz::local:
found = tp_loc < r->mdt().to_time_point(ry);
break;
default:
found = false;
assert(false);
}
if (found)
break;