Changeset 6e3ef03dd5d88c3ff98e563361cdac0d45fc74df

Show
Ignore:
Timestamp:
15/08/07 02:07:27 (1 year ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1187136447 +0000
git-parent:

[4ac40b710f67458993927640567ec24ba0c6d58b]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1187136447 +0000
Message:

modules/misc/playlist/xspf.c: Remove some weird duplicate code.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/misc/playlist/xspf.c

    r971b8d4 r6e3ef03  
    167167                        strdup( p_item->p_input->p_meta->psz_artist ): 
    168168                        strdup( "" ); 
    169     if( psz && !*psz ) 
    170     { 
    171         free( psz ); 
    172         psz = NULL; 
    173     } 
    174     if( !psz ) 
    175     { 
    176         psz = p_item->p_input->p_meta->psz_artist ? 
    177                         strdup( p_item->p_input->p_meta->psz_artist ): 
    178                         strdup( "" ); 
    179     } 
    180169    psz_temp = convert_xml_special_chars( psz ); 
    181170    if( psz ) free( psz );