Skip to content

Commit 1315ae8

Browse files
committed
Analysis: Suppress variable initializer is redundant warning
Warning Message: "Variable 'obj' initializer is redundant"
1 parent 6c5296d commit 1315ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/util/InstanceStateUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class InstanceStateUtils {
6060
return defaultValue
6161
}
6262

63-
var obj: T = defaultValue
63+
@Suppress("VARIABLE_WITH_REDUNDANT_INITIALIZER") var obj: T = defaultValue
6464

6565
with(file) {
6666
FileInputStream(this).use { input ->

0 commit comments

Comments
 (0)