Skip to content
This repository
Browse code

remove useless comparison in CMusicInfoTag::operator!=

  • Loading branch information...
commit 27bbdf95311ccccbe9a98641360a4265b5a5dd52 1 parent 584f079
authored November 18, 2012

Showing 1 changed file with 0 additions and 5 deletions. Show diff stats Hide diff stats

  1. 5  xbmc/music/tags/MusicInfoTag.cpp
5  xbmc/music/tags/MusicInfoTag.cpp
@@ -123,11 +123,6 @@ bool CMusicInfoTag::operator !=(const CMusicInfoTag& tag) const
123 123
   if (this == &tag) return false;
124 124
   if (m_strURL != tag.m_strURL) return true;
125 125
   if (m_strTitle != tag.m_strTitle) return true;
126  
-  for (unsigned int index = 0; index < m_artist.size(); index++)
127  
-  {
128  
-    if (tag.m_artist.at(index).compare(m_artist.at(index)) != 0)
129  
-      return true;
130  
-  }
131 126
   if (m_bCompilation != tag.m_bCompilation) return true;
132 127
   if (m_artist != tag.m_artist) return true;
133 128
   if (m_albumArtist != tag.m_albumArtist) return true;

0 notes on commit 27bbdf9

Please sign in to comment.
Something went wrong with that request. Please try again.