diff options
author | Mårten Kongstad <amhk@google.com> | 2024-05-02 10:19:18 +0200 |
---|---|---|
committer | Mårten Kongstad <amhk@google.com> | 2024-05-02 14:01:12 +0200 |
commit | cd93aeb947fe79c191ef2f7dde1853571c40c236 (patch) | |
tree | 883960fe6a177e7300c142aab6aa9a9d575b4637 | |
parent | b4a14bfaa9915d8da91a4ad4987c39b033aab5ac (diff) | |
download | build-cd93aeb947fe79c191ef2f7dde1853571c40c236.tar.gz |
check-flagged-apis: suppress unused variable warning
Bug: 334870672
Test: m check-flagged-apis # verify no Lint warnings
Change-Id: If4fb93703f0f0bf3f27e6ec052cf488796bd717e
-rw-r--r-- | tools/check-flagged-apis/src/com/android/checkflaggedapis/Main.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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<Symbol> { 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 <method> element, or <class> element missing name attribute" |