void eEPGCache::load()
{
+ singleLock s(cache_lock);
FILE *f = fopen("/hdd/epg.dat", "r");
if (f)
{
if (!PyString_Check(entry))
{
eDebug("tuple entry 0 is no a string");
- continue;
+ goto skip_entry;
}
service = entry;
break;
if (type < -1 || type > 2)
{
eDebug("unknown type %d", type);
- continue;
+ goto skip_entry;
}
break;
case 2:
if (service_name)
Py_DECREF(service_name);
}
+skip_entry:
+ ;
}
if (convertFuncArgs)
Py_DECREF(convertFuncArgs);