[libdvdcss-devel] [PATCH 12/47] device: Eliminate nonsense conditional test

Diego Biurrun diego at biurrun.de
Wed Oct 29 21:33:12 CET 2014


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

diff --git a/src/device.c b/src/device.c
index 4dc586e..e894e2b 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;
 
-- 
1.9.1



More information about the libdvdcss-devel mailing list