diff --git a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt index e15e7fa6eb..e8b1b65fce 100644 --- a/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt +++ b/tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt @@ -276,7 +276,7 @@ internal fun parseApiVersions(input: InputStream): Set { if (methodSignatureParts.size != 3) { throw Exception("Bad XML: method signature '$methodSignature'") } - var (methodName, methodArgs, methodReturnValue) = methodSignatureParts + var (methodName, methodArgs, _) = methodSignatureParts val packageAndClassName = requireNotNull(method.getParentNode()?.getAttribute("name")) { "Bad XML: top level element, or element missing name attribute"