[vlc-devel] commit: Remove dead code - CID 9 ( Rafaël Carré )

git version control git at videolan.org
Fri May 30 15:43:00 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Fri May 30 15:44:13 2008 +0200| [20c8be6a7fc75e9b9e0e20008b01431e4032f85e]

Remove dead code - CID 9
(cherry picked from commit c8075f3500bfdd1e4159f5091c767bcd916f0e26)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20c8be6a7fc75e9b9e0e20008b01431e4032f85e
---

 src/network/acl.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/network/acl.c b/src/network/acl.c
index 69e97e7..5638441 100644
--- a/src/network/acl.c
+++ b/src/network/acl.c
@@ -187,9 +187,6 @@ int ACL_AddNet( vlc_acl_t *p_acl, const char *psz_ip, int i_len,
 
         if( i_len > 128 )
             i_len = 128;
-        else
-        if( i_len < 0 )
-            i_len = 0;
     }
     else
         i_len = 128; /* ACL_AddHost */




More information about the vlc-devel mailing list