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

Fix issue found by coverity

git-svn-id: http://root.cern.ch/svn/root/trunk@35106 27541ba8-7e3a-0410-8455-c3a389f83636
parent 60bf87ca
No related branches found
No related tags found
No related merge requests found
......@@ -683,15 +683,15 @@ void TQueryResultManager::SaveQuery(TProofQueryResult *pq, Int_t mxq)
if (farc && fcom)
break;
}
if (farc) {
if (!farc && !fcom) {
break;
} else if (farc) {
RemoveQuery(farc, kTRUE);
fKeptQueries--;
} else if (fcom) {
RemoveQuery(fcom);
fKeptQueries--;
}
if (!farc && !fcom)
break;
}
}
if (fKeptQueries < mxq) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment