From 91d9f647b1e4a9bb25e676e23e3ba0221801a250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Wed, 3 Apr 2013 23:38:55 +0200 Subject: [PATCH] UpdateChecker: fix a coverity warning (not an actual bug, though) --- qt/update_checker.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/update_checker.cpp b/qt/update_checker.cpp index 8b7565c..2f9554a 100644 --- a/qt/update_checker.cpp +++ b/qt/update_checker.cpp @@ -121,6 +121,8 @@ UpdateChecker::VersionNumber UpdateChecker::parseVersionNumber(QString iVersion) { LOG_ERROR("Error parsing version number: " << lfq(iVersion)); vn.major = -1; + vn.minor = -1; + vn.letter = 0; return vn; } vn.major = re.cap(1).toInt();