From 5fab16a223ee062847165c3793607bd0d0df9f55 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 11 Feb 2013 06:38:30 +0100 Subject: [PATCH] Fixed uninitialized variable bug. --- lib/base/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process.cpp b/lib/base/process.cpp index d22a3bbcd..b6b0d9d42 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -148,7 +148,7 @@ void Process::Run(void) void Process::WorkerThreadProc(int taskFd) { map tasks; - pollfd *pfds; + pollfd *pfds = NULL; for (;;) { map::iterator it, prev; -- 2.40.0