Build: Resolve some more compiler warnings

This commit is contained in:
Paul Beckingham
2015-03-29 18:03:36 -04:00
parent 73f4f55e0a
commit 690d9493f0
7 changed files with 3 additions and 37 deletions

View File

@@ -319,7 +319,6 @@ bool Duration::parse (const std::string& input, std::string::size_type& start)
start = original_start + n.cursor ();
// Linear lookup - should be logarithmic.
double seconds = 1;
for (unsigned int i = 0; i < NUM_DURATIONS; i++)
{
if (durations[i].unit == unit &&