[vlc-devel] [PATCH] Taglib: undefined operation de to duplicate usage of var with post-increment

Rémi Denis-Courmont rem at videolan.org
Sat Jan 17 16:39:32 CET 2009


Le samedi 17 janvier 2009 17:32:45 Dominique Leuenberger, vous avez écrit :
> demux_t* p_demux, demux_meta_t* int max_size = p_ufid->identifier().size()
> < 63 ?
>                             p_ufid->identifier().size() : 63;
>              while( j < max_size )
> -                psz_ufid[j] = p_ufid->identifier()[j++];
> +                psz_ufid[j] = p_ufid->identifier()[j];
> +                j++;
>              psz_ufid[j] = '\0';
>              vlc_meta_SetTrackID( p_meta, psz_ufid );
>          }

Come on, this is C, not Python.

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary



More information about the vlc-devel mailing list