fix various compiler warnings and a few minor bugs

This commit is contained in:
unK
2008-10-05 00:26:02 +02:00
parent 5c7b7a04e1
commit f8727b0a10
11 changed files with 51 additions and 29 deletions

View File

@@ -48,9 +48,9 @@ void DefineEmptyTags()
}
Song::Song(mpd_Song *s, bool copy_ptr) : itsSong(s),
isStream(0),
itsHash(0),
copyPtr(copy_ptr),
isStream(0),
itsGetEmptyFields(0)
{
string itsFile = itsSong->file ? itsSong->file : "";
@@ -284,6 +284,7 @@ Song & Song::operator=(const Song &s)
copyPtr = s.copyPtr;
isStream = s.isStream;
itsGetEmptyFields = s.itsGetEmptyFields;
return *this;
}
bool Song::operator==(const Song &s) const