mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-25 21:59:30 +01:00
UpdateChecker: fix a coverity warning (not an actual bug, though)
This commit is contained in:
parent
cd34ce6d32
commit
91d9f647b1
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue