[Android] Remove unreachable state

Geoffrey Métais git at videolan.org
Wed Feb 18 12:24:01 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 18 11:34:41 2015 +0100| [586ccb2423e65fe745e95a874fb8b8fd22528770] | committer: Geoffrey Métais

Remove unreachable state

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

 vlc-android/src/org/videolan/vlc/gui/video/MediaInfoFragment.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoFragment.java
index c699c98..631118c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/MediaInfoFragment.java
@@ -178,7 +178,7 @@ public class MediaInfoFragment extends ListFragment {
             if (files != null)
                 System.arraycopy(files, 0, newFiles, subFilesLength, filesLength);
             files = newFiles;
-            filesLength = files == null ? 0 : files.length;
+            filesLength = files.length;
         }
         for (int i = 0; i<filesLength ; ++i){
             filename = Uri.decode(files[i]);



More information about the Android mailing list