Commit b5ee1d01 authored by Shane Kerr's avatar Shane Kerr
Browse files

Fix broken Solaris build by initializing variable.

parent acbcce24
......@@ -92,7 +92,7 @@ RRTTL::RRTTL(const std::string& ttlstr) {
// There's a unit now.
units_mode = true;
// Find the unit and get the size.
uint32_t multiply;
uint32_t multiply = 1; // initialize to silence compiler warnings
bool found = false;
for (size_t i = 0; i < sizeof(units) / sizeof(*units); ++i) {
if (toupper(*unit) == units[i].unit) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment