disable bogus warning for data files without style markers

This commit is contained in:
Axel Kohlmeyer
2013-11-21 14:28:08 +01:00
parent b67ae4c6fb
commit 5a9727b558

View File

@ -61,6 +61,10 @@ static int style_match(const char *one, const char *two)
{
int i, delta, len, len1, len2;
// cannot compare empty styles
if ((len1 == NULL) || (len2 == NULL)) return 1;
len1 = strlen(one);
len2 = strlen(two);