[libdvdcss-devel] device: Eliminate nonsense conditional test

Diego Biurrun git at videolan.org
Thu Oct 30 17:16:31 CET 2014


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Oct 24 10:03:19 2014 +0200| [37adce9c0ad13ed954c7f634ffc9197b9dfb167b] | committer: Diego Biurrun

device: Eliminate nonsense conditional test

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=37adce9c0ad13ed954c7f634ffc9197b9dfb167b
---

 src/device.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/device.c b/src/device.c
index 1fa7b15..a32836a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -109,14 +109,7 @@ int dvdcss_use_ioctls( dvdcss_t dvdcss )
     }
 
     /* FIXME: implement this for Windows */
-    if( WIN2K )
-    {
-        return 1;
-    }
-    else
-    {
-        return 1;
-    }
+    return 1;
 #elif defined( __OS2__ )
     ULONG ulMode;
 



More information about the libdvdcss-devel mailing list