]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/bonjour.c
ps_psm_fill: fix logic bug spotted by clang
[vlc] / modules / services_discovery / bonjour.c
index 0110e016b0f81d5cfbed5933d4fab0e799d0d385..e118ab260c9024b04deeb85f205abf6976c2b97c 100644 (file)
@@ -176,7 +176,7 @@ static void resolve_callback(
 
         if( psz_uri != NULL )
         {
-            p_input = input_item_New( p_sd, psz_uri, name );
+            p_input = input_item_New( psz_uri, name );
             free( psz_uri );
         }
         if( p_input != NULL )