From 0e87ef56c418d5c37d58abb9b27f85e25fd44f81 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 23 Jun 2022 08:57:41 +0200 Subject: [PATCH] fix: mutability of local variable `modified` --- src/main/kotlin/app/revanced/patcher/Patcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patcher/Patcher.kt b/src/main/kotlin/app/revanced/patcher/Patcher.kt index e74930af..3701b4d0 100644 --- a/src/main/kotlin/app/revanced/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/patcher/Patcher.kt @@ -128,7 +128,7 @@ class Patcher(private val options: PatcherOptions) { callback: (File) -> Unit ) { for (file in files) { - val modified = false + var modified = false for (classDef in MultiDexIO.readDexFile(true, file, NAMER, null, null).classes) { val type = classDef.type