UpdateChecker: fix a coverity warning (not an actual bug, though)

This commit is contained in:
Olivier Teulière 2013-04-03 23:38:55 +02:00
parent cd34ce6d32
commit 91d9f647b1

View file

@ -121,6 +121,8 @@ UpdateChecker::VersionNumber UpdateChecker::parseVersionNumber(QString iVersion)
{ {
LOG_ERROR("Error parsing version number: " << lfq(iVersion)); LOG_ERROR("Error parsing version number: " << lfq(iVersion));
vn.major = -1; vn.major = -1;
vn.minor = -1;
vn.letter = 0;
return vn; return vn;
} }
vn.major = re.cap(1).toInt(); vn.major = re.cap(1).toInt();