mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
src/gui/adzap.cpp init before use
This commit is contained in:
@@ -66,15 +66,16 @@ CAdZapMenu::CAdZapMenu()
|
||||
|
||||
sem_init(&sem, 0, 0);
|
||||
|
||||
channelId = -1;
|
||||
armed = false;
|
||||
monitor = false;
|
||||
alerted = false;
|
||||
|
||||
pthread_t thr;
|
||||
if (pthread_create(&thr, 0, CAdZapMenu::Run, this))
|
||||
fprintf(stderr, "ERROR: pthread_create(CAdZapMenu::CAdZapMenu)\n");
|
||||
else
|
||||
pthread_detach(thr);
|
||||
channelId = -1;
|
||||
armed = false;
|
||||
monitor = false;
|
||||
alerted = false;
|
||||
}
|
||||
|
||||
static bool sortByDateTime(const CChannelEvent & a, const CChannelEvent & b)
|
||||
|
Reference in New Issue
Block a user