mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-29 14:32:58 +02:00
remove redundant null check
This commit is contained in:
parent
b5a7963a81
commit
495cd03c2c
@ -124,7 +124,7 @@ class MitmSession final : public ServiceSession {
|
||||
case DomainMessageType_Close:
|
||||
{
|
||||
auto sub_obj = ctx->obj_holder->GetServiceObject<IDomainObject>()->GetObject(ctx->request.InThisObjectId);
|
||||
if (sub_obj == nullptr || (!sub_obj)) {
|
||||
if (sub_obj == nullptr) {
|
||||
rc = ForwardRequest(ctx);
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user