Skip to content
Snippets Groups Projects
Commit 447fd9c2 authored by Gerardo Ganis's avatar Gerardo Ganis
Browse files

Fix two issues find by coverity

git-svn-id: http://root.cern.ch/svn/root/trunk@37432 27541ba8-7e3a-0410-8455-c3a389f83636
parent aeb41320
No related branches found
No related tags found
No related merge requests found
......@@ -2937,7 +2937,7 @@ Int_t TProof::HandleInputMessage(TSlave *sl, TMessage *mess, Bool_t deactonfail)
TObject *xo = 0;
TIter nxin(fPlayer->GetInputList());
while ((xo = nxin()))
if (!pq->GetInputList()->FindObject(o->GetName())) pq->AddInput(o->Clone());
if (!pq->GetInputList()->FindObject(xo->GetName())) pq->AddInput(xo->Clone());
// If the last object, notify the GUI that the result arrived
QueryResultReady(Form("%s:%s", pq->GetTitle(), pq->GetName()));
// Processing is over
......
......@@ -4127,13 +4127,11 @@ void TProofServ::ProcessNext(TString *slb)
// Send back the results
TQueryResult *pqr = pq->CloneInfo();
// At least the TDSet name in the light object
if (dset) {
Info("ProcessNext", "adding info about dataset '%s' in the light query result", dset->GetName());
TList rin;
TDSet *ds = new TDSet(dset->GetName(), dset->GetObjName());
rin.Add(ds);
pqr->SetInputList(&rin, kTRUE);
}
Info("ProcessNext", "adding info about dataset '%s' in the light query result", dset->GetName());
TList rin;
TDSet *ds = new TDSet(dset->GetName(), dset->GetObjName());
rin.Add(ds);
pqr->SetInputList(&rin, kTRUE);
if (fPlayer->GetExitStatus() != TVirtualProofPlayer::kAborted && fPlayer->GetOutputList()) {
PDB(kGlobal, 2)
Info("ProcessNext", "sending results");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment