0 is used throughout the rest of the TagLib source, and generally
preferred in C++:
http://www2.research.att.com/~bs/bs_faq2.html#null
// delete all unknown frames of given type
FrameList l = frameList(id);
for(FrameList::ConstIterator fit = l.begin(); fit != l.end(); fit++)
- if (dynamic_cast<const UnknownFrame *>(*fit) != NULL)
+ if (dynamic_cast<const UnknownFrame *>(*fit) != 0)
removeFrame(*fit);
} else if(it->size() == 4){
ByteVector id = it->data(String::Latin1);
if(it->size() <= 5)
continue; // invalid specification
String description = it->substr(5);
- Frame *frame = NULL;
+ Frame *frame = 0;
if(id == "TXXX")
frame = UserTextIdentificationFrame::find(this, description);
else if(id == "WXXX")