mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
NETWORKING: Remove unnesessary check
This commit is contained in:
parent
c4d62cedf9
commit
7533375b55
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user