Browse Source

init fix.

Adam Ierymenko 8 years ago
parent
commit
823a1963f6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      service/SoftwareUpdater.cpp

+ 3 - 1
service/SoftwareUpdater.cpp

@@ -256,7 +256,9 @@ static BackgroundSoftwareUpdateChecker backgroundSoftwareUpdateChecker;
 SoftwareUpdater::SoftwareUpdater(Node &node,const std::string &homePath) :
 SoftwareUpdater::SoftwareUpdater(Node &node,const std::string &homePath) :
 	_node(node),
 	_node(node),
 	_lastCheckTime(0),
 	_lastCheckTime(0),
-	_homePath(homePath)
+	_homePath(homePath),
+	_latestBinLength(0),
+	_latestBinValid(false)
 {
 {
 }
 }