mirror of https://github.com/Icinga/icinga2.git
Fixed uninitialized variable bug.
This commit is contained in:
parent
a3f03928d7
commit
5fab16a223
|
@ -148,7 +148,7 @@ void Process::Run(void)
|
||||||
void Process::WorkerThreadProc(int taskFd)
|
void Process::WorkerThreadProc(int taskFd)
|
||||||
{
|
{
|
||||||
map<int, Process::Ptr> tasks;
|
map<int, Process::Ptr> tasks;
|
||||||
pollfd *pfds;
|
pollfd *pfds = NULL;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
map<int, Process::Ptr>::iterator it, prev;
|
map<int, Process::Ptr>::iterator it, prev;
|
||||||
|
|
Loading…
Reference in New Issue