summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-18 19:42:53 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 02:48:52 +0200
commit877088f10685a7042d4a392a69c45e859c04ea91 (patch)
tree9da7e1da81842c5b12f9ddab021dfde5e04512a0
parentversion entry is no more (diff)
downloadcore-877088f10685a7042d4a392a69c45e859c04ea91.tar.gz
core-877088f10685a7042d4a392a69c45e859c04ea91.zip
hard coding the number of entries just leads to problems
Change-Id: I527c2c881bf46b1724b8da9223b2614ff30fbec7
-rw-r--r--desktop/source/app/updater.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index e9d989acc26b..b6abf4c01b74 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -323,12 +323,6 @@ update_info parse_response(const std::string& rResponse)
throw invalid_update_info();
}
- if (aRootKeys.size() != 5)
- {
- SAL_WARN("desktop.Update", "invalid root entries: " << rResponse);
- throw invalid_update_info();
- }
-
orcus::json::detail::node aFromNode = aDocumentRoot.child("from");
if (aFromNode.type() != orcus::json_node_t::string)
{