refactor: remove unused parameter

This commit is contained in:
oSumAtrIX 2022-08-07 22:40:07 +02:00
parent 38a586f645
commit f1edfdf974
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -26,13 +26,13 @@ class CustomVideoBufferPatch : BytecodePatch(
) )
) { ) {
override fun execute(data: BytecodeData): PatchResult { override fun execute(data: BytecodeData): PatchResult {
execMaxBuffer(data) execMaxBuffer()
execPlaybackBuffer(data) execPlaybackBuffer(data)
execReBuffer(data) execReBuffer(data)
return PatchResultSuccess() return PatchResultSuccess()
} }
private fun execMaxBuffer(data: BytecodeData) { private fun execMaxBuffer() {
val result = MaxBufferFingerprint.result!! val result = MaxBufferFingerprint.result!!
val method = result.mutableMethod val method = result.mutableMethod
val index = result.patternScanResult!!.endIndex - 1 val index = result.patternScanResult!!.endIndex - 1