(fix) make sure found tag is always defined

This commit is contained in:
Ludovic Marcotte 2016-05-06 08:14:37 -04:00
parent 8aa452539a
commit 74602de1db

View file

@ -259,7 +259,7 @@ static NSData* _sanitizeContent(NSData *theData)
tags = [VoidTags objectEnumerator]; tags = [VoidTags objectEnumerator];
tag = [tags nextObject]; tag = [tags nextObject];
while (tag) while (tag && found_tag)
{ {
if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame) if ([tag caseInsensitiveCompare: found_tag] == NSOrderedSame)
{ {