summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-09-18 20:13:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-09-18 20:13:40 (GMT)
commitb5ba77ebd72c7e994a30eda5422dffde730561ec (patch)
tree488f298f3b33e7e5b8ced572be01375d66b47c23 /src/dot.cpp
parent35fb02903f658f5ca6880b8ad6a5c1e6ac39d64f (diff)
downloadDoxygen-b5ba77ebd72c7e994a30eda5422dffde730561ec.zip
Doxygen-b5ba77ebd72c7e994a30eda5422dffde730561ec.tar.gz
Doxygen-b5ba77ebd72c7e994a30eda5422dffde730561ec.tar.bz2
Fixed a number of compiler warnings reported by newer clang compiler
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 7d9e795..8d9ba3f 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1180,8 +1180,8 @@ uint DotRunnerQueue::count() const
//--------------------------------------------------------------------
-DotWorkerThread::DotWorkerThread(int id,DotRunnerQueue *queue)
- : m_id(id), m_queue(queue)
+DotWorkerThread::DotWorkerThread(DotRunnerQueue *queue)
+ : m_queue(queue)
{
m_cleanupItems.setAutoDelete(TRUE);
}
@@ -1235,7 +1235,7 @@ DotManager::DotManager() : m_dotMaps(1007)
if (numThreads==0) numThreads = QMAX(2,QThread::idealThreadCount()+1);
for (i=0;i<numThreads;i++)
{
- DotWorkerThread *thread = new DotWorkerThread(i,m_queue);
+ DotWorkerThread *thread = new DotWorkerThread(m_queue);
thread->start();
if (thread->isRunning())
{