mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-16 09:53:36 +02:00
src/gui/adzap.cpp init before use
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6e8c1cac96
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-05-23 (Tue, 23 May 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -66,15 +66,16 @@ CAdZapMenu::CAdZapMenu()
|
|||||||
|
|
||||||
sem_init(&sem, 0, 0);
|
sem_init(&sem, 0, 0);
|
||||||
|
|
||||||
|
channelId = -1;
|
||||||
|
armed = false;
|
||||||
|
monitor = false;
|
||||||
|
alerted = false;
|
||||||
|
|
||||||
pthread_t thr;
|
pthread_t thr;
|
||||||
if (pthread_create(&thr, 0, CAdZapMenu::Run, this))
|
if (pthread_create(&thr, 0, CAdZapMenu::Run, this))
|
||||||
fprintf(stderr, "ERROR: pthread_create(CAdZapMenu::CAdZapMenu)\n");
|
fprintf(stderr, "ERROR: pthread_create(CAdZapMenu::CAdZapMenu)\n");
|
||||||
else
|
else
|
||||||
pthread_detach(thr);
|
pthread_detach(thr);
|
||||||
channelId = -1;
|
|
||||||
armed = false;
|
|
||||||
monitor = false;
|
|
||||||
alerted = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool sortByDateTime(const CChannelEvent & a, const CChannelEvent & b)
|
static bool sortByDateTime(const CChannelEvent & a, const CChannelEvent & b)
|
||||||
|
Reference in New Issue
Block a user