[vlc-commits] sap: fix "misleading indentation"

Rémi Denis-Courmont git at videolan.org
Tue Nov 15 17:30:34 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 15 18:29:57 2016 +0200| [1965d8549223b8ee82997219740a4b717a14ff27] | committer: Rémi Denis-Courmont

sap: fix "misleading indentation"

GCC now warns here. And since the root cause is a no-op, remove it.

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

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

diff --git a/modules/services_discovery/sap.c b/modules/services_discovery/sap.c
index 642a242..227ef36 100644
--- a/modules/services_discovery/sap.c
+++ b/modules/services_discovery/sap.c
@@ -402,7 +402,7 @@ static int OpenDemux( vlc_object_t *p_this )
 
 error:
     FREENULL( psz_sdp );
-    if( p_sdp ) FreeSDP( p_sdp ); p_sdp = NULL;
+    if( p_sdp ) FreeSDP( p_sdp );
     vlc_stream_Seek( p_demux->s, 0 );
     return errval;
 }



More information about the vlc-commits mailing list