]> git.sesse.net Git - vlc/commitdiff
JACK: remove tautology
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 23 Apr 2014 16:43:33 +0000 (19:43 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 23 Apr 2014 16:43:33 +0000 (19:43 +0300)
p_sys cannot be NULL here.

modules/audio_output/jack.c

index 2e8c1f81b36ea9f4e9568133337c9cc67dc809ba..f2330d6f2676d744ae70ea083928cf71081090dc 100644 (file)
@@ -247,7 +247,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
 
 error_out:
     /* Clean up, if an error occurred */
-    if( status != VLC_SUCCESS && p_sys != NULL )
+    if( status != VLC_SUCCESS )
     {
         if( p_sys->p_jack_client )
         {