Commit 28c44e4f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lirc: remove tautology

(Code is suspicious though.)
parent ea89b2a7
...@@ -189,8 +189,7 @@ static void Process( intf_thread_t *p_intf ) ...@@ -189,8 +189,7 @@ static void Process( intf_thread_t *p_intf )
if( code == NULL ) if( code == NULL )
return; return;
while( vlc_object_alive( p_intf ) while( (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
&& (lirc_code2char( p_intf->p_sys->config, code, &c ) == 0)
&& (c != NULL) ) && (c != NULL) )
{ {
if( !strncmp( "key-", c, 4 ) ) if( !strncmp( "key-", c, 4 ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment