taglib: fix warning about overriden variable.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 1 Feb 2009 16:19:41 +0000 (17:19 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 3 Feb 2009 09:49:33 +0000 (10:49 +0100)
modules/meta_engine/taglib.cpp

index 0a62e66..6d42247 100644 (file)
@@ -196,8 +196,7 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_t* p_demux, demux_meta_t*
         return;
 
     TAB_INIT( p_demux_meta->i_attachments, p_demux_meta->attachments );
-    for( ID3v2::FrameList::Iterator iter = list.begin();
-         iter != list.end(); iter++ )
+    for( iter = list.begin(); iter != list.end(); iter++ )
     {
         ID3v2::AttachedPictureFrame* p_apic =
             dynamic_cast<ID3v2::AttachedPictureFrame*>(*iter);