]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.m
macosx: Assert on cases that should never happen.
[vlc] / modules / gui / macosx / playlist.m
index 0f761f759b70a0a9a454a11fcf2f83f05d13d317..c81aaff39b6a5474740924b8416e505b8469e0de 100644 (file)
     [o_mi_recursive_expand setTitle: _NS("Expand Node")];
     [o_mi_selectall setTitle: _NS("Select All")];
     [o_mi_info setTitle: _NS("Information...")];
-    [o_mi_preparse setTitle: _NS("Get Stream Information")];
+    [o_mi_preparse setTitle: _NS("Fetch Meta Data")];
     [o_mi_sort_name setTitle: _NS("Sort Node by Name")];
     [o_mi_sort_author setTitle: _NS("Sort Node by Author")];
     [o_mi_services setTitle: _NS("Services discovery")];
         {
             [self appendArray: o_array atPos: index enqueue: YES];
         }
-        /* This should never occur */
-        else if( p_node->i_children == -1 )
-        {
-            vlc_object_release( p_playlist );
-            return NO;
-        }
         else
         {
+            assert( p_node->i_children != -1 );
             [self appendNodeArray: o_array inNode: p_node
                 atPos: index enqueue: YES];
         }