From cf6d374505a79eac59e2944211be9d0e9d45695d Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 4 Oct 2011 16:46:15 +0900 Subject: [PATCH] Remove unused local variable Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7 --- .../android/inputmethod/keyboard/internal/KeyboardBuilder.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java index d16c71c7e..e73f5a040 100644 --- a/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -618,8 +618,6 @@ public class KeyboardBuilder { final TypedArray a = mResources.obtainAttributes(Xml.asAttributeSet(parser), R.styleable.Keyboard_Case); - final TypedArray viewAttr = mResources.obtainAttributes(Xml.asAttributeSet(parser), - R.styleable.KeyboardView); try { final boolean modeMatched = matchTypedValue(a, R.styleable.Keyboard_Case_mode, id.mMode, KeyboardId.modeName(id.mMode)); @@ -676,7 +674,6 @@ public class KeyboardBuilder { return selected; } finally { a.recycle(); - viewAttr.recycle(); } }