servicers/fs: Remove redundant conditional in FSUSER_OpenArchive()
This is already checked against at the beginning of the function.
This commit is contained in:
parent
8566366b02
commit
7d8765101b
@ -394,7 +394,7 @@ Result FSUSER_OpenArchive(FS_Archive* archive, FS_ArchiveID id, FS_Path path)
|
|||||||
Result ret = 0;
|
Result ret = 0;
|
||||||
if(R_FAILED(ret = svcSendSyncRequest(fsSession()))) return ret;
|
if(R_FAILED(ret = svcSendSyncRequest(fsSession()))) return ret;
|
||||||
|
|
||||||
if(archive) *archive = cmdbuf[2] | ((u64) cmdbuf[3] << 32);
|
*archive = cmdbuf[2] | ((u64) cmdbuf[3] << 32);
|
||||||
|
|
||||||
return cmdbuf[1];
|
return cmdbuf[1];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user