From 15def480d96bd918b416ec538d6874a507715356 Mon Sep 17 00:00:00 2001 From: adrian Date: Tue, 9 Oct 2012 11:10:29 +0000 Subject: [PATCH] warning-fix in release mode (var not initialized). git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1731 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- src/core/cpn/JobServer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cpn/JobServer.cc b/src/core/cpn/JobServer.cc index c1637527..d2f08dc6 100644 --- a/src/core/cpn/JobServer.cc +++ b/src/core/cpn/JobServer.cc @@ -301,7 +301,7 @@ void CommThread::receiveExperimentResults(Minion& minion, uint32_t workloadID) boost::unique_lock lock(m_CommMutex); #endif - ExperimentData * exp; // Get exp* from running jobs + ExperimentData* exp = NULL; // Get exp* from running jobs //cout << "<<[Server] Received result for workload id [" << workloadID << "]" << endl; cout << "<<[" << workloadID << "] " << flush; if (m_js.m_runningJobs.remove(workloadID, exp)) { // ExperimentData* found