[vlc-commits] lirc: remove tautology
Rémi Denis-Courmont
git at videolan.org
Mon Mar 25 19:18:09 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 25 20:17:35 2013 +0200| [28c44e4f97b8fd4ca9bdedc8988e731e9ab50997] | committer: Rémi Denis-Courmont
lirc: remove tautology
(Code is suspicious though.)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28c44e4f97b8fd4ca9bdedc8988e731e9ab50997
---
modules/control/lirc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/control/lirc.c b/modules/control/lirc.c
index 3fd5afb..9484107 100644
--- a/modules/control/lirc.c
+++ b/modules/control/lirc.c
@@ -189,8 +189,7 @@ static void Process( intf_thread_t *p_intf )
if( code == NULL )
return;
- while( vlc_object_alive( p_intf )
- && (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
+ while( (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
&& (c != NULL) )
{
if( !strncmp( "key-", c, 4 ) )
More information about the vlc-commits
mailing list