diff options
author | Eugene Sandulenko | 2019-10-25 00:55:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-10-25 00:55:51 +0200 |
commit | 7533375b554a7e292e723d7096fa0c26c86a32c0 (patch) | |
tree | 2624706a2d96f4a0ce5d7239402e0432af75750e /backends/networking | |
parent | c4d62cedf93800d7e78da3b74b84d5f1057e92f3 (diff) | |
download | scummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.tar.gz scummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.tar.bz2 scummvm-rg350-7533375b554a7e292e723d7096fa0c26c86a32c0.zip |
NETWORKING: Remove unnesessary check
Diffstat (limited to 'backends/networking')
-rw-r--r-- | backends/networking/curl/postrequest.cpp | 7 |
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) |