aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-25 00:55:21 +0200
committerEugene Sandulenko2019-10-25 00:55:51 +0200
commit7533375b554a7e292e723d7096fa0c26c86a32c0 (patch)
tree2624706a2d96f4a0ce5d7239402e0432af75750e
parentc4d62cedf93800d7e78da3b74b84d5f1057e92f3 (diff)
downloadscummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.tar.gz
scummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.tar.bz2
scummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.zip
NETWORKING: Remove unnesessary check
-rw-r--r--backends/networking/curl/postrequest.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/backends/networking/curl/postrequest.cpp b/backends/networking/curl/postrequest.cpp
index 5e0bc1aa88..54a8fba5ea 100644
--- a/backends/networking/curl/postrequest.cpp
+++ b/backends/networking/curl/postrequest.cpp
@@ -103,13 +103,6 @@ void PostRequest::responseCallback(Networking::JsonResponse response) {
return;
}
- if (!json->isObject()) {
- error.response = "Passed JSON is not an object!";
- finishError(error);
- delete json;
- return;
- }
-
finishSuccess();
if (_jsonCallback)