[Android] remove unused variable

Sébastien Toque git at videolan.org
Fri Jun 21 08:13:03 CEST 2013


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Fri Jun 21 07:45:47 2013 +0200| [aef47ba8bc35035064f3460f3a4d23905fc67ea2] | committer: Sébastien Toque

remove unused variable

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=aef47ba8bc35035064f3460f3a4d23905fc67ea2
---

 vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
index 9befdd9..56a9eb2 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
@@ -23,7 +23,6 @@ package org.videolan.vlc.gui;
 import java.util.Arrays;
 import java.util.HashMap;
 import java.util.List;
-import java.util.concurrent.Semaphore;
 
 import org.videolan.vlc.R;
 import org.videolan.vlc.Util;
@@ -64,7 +63,6 @@ public class SidebarAdapter extends BaseAdapter {
     private LayoutInflater mInflater;
     static final List<SidebarEntry> entries;
     private HashMap<String, Fragment> mFragments;
-    private Semaphore mSemaphore;
 
     static {
         SidebarEntry entries2[] = {
@@ -81,7 +79,6 @@ public class SidebarAdapter extends BaseAdapter {
     public SidebarAdapter() {
         mInflater = LayoutInflater.from(VLCApplication.getAppContext());
         mFragments = new HashMap<String, Fragment>(entries.size());
-        mSemaphore = new Semaphore(1, true);
     }
 
     @Override



More information about the Android mailing list