[vlc-commits] JACK: remove tautology

Rémi Denis-Courmont git at videolan.org
Wed Apr 23 18:43:44 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 19:43:33 2014 +0300| [972dfc6672c2c648bcc031aa9dbad6a482b6de61] | committer: Rémi Denis-Courmont

JACK: remove tautology

p_sys cannot be NULL here.

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

 modules/audio_output/jack.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/jack.c b/modules/audio_output/jack.c
index 2e8c1f8..f2330d6 100644
--- a/modules/audio_output/jack.c
+++ b/modules/audio_output/jack.c
@@ -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 )
         {



More information about the vlc-commits mailing list