From e8ddfe427388df88db28304e96e9d2b5f52231f9 Mon Sep 17 00:00:00 2001
From: Jean Chalard <jchalard@google.com>
Date: Thu, 15 Mar 2012 14:51:22 +0900
Subject: [PATCH] Remove useless code

Change-Id: I58de87c1ba4cd1130419191f63ff83b685604356
---
 .../android/inputmethod/latin/suggestions/SuggestionsView.java  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java b/java/src/com/android/inputmethod/latin/suggestions/SuggestionsView.java
index a4f0cf5df6..b632f093f3 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 {
-- 
GitLab