diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java index a4f0cf5df..b632f093f 100644 --- a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java +++ b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java @@ -339,8 +339,6 @@ public class SuggestionsView extends RelativeLayout implements OnClickListener, } } - final SuggestedWordInfo info = (pos < suggestedWords.size()) - ? suggestedWords.getInfo(pos) : null; if (suggestedWords.mIsObsoleteSuggestions && isSuggested) { return applyAlpha(color, mAlphaObsoleted); } else {