Skip to content

Commit

Permalink
Fix for coverity issue 51684
Browse files Browse the repository at this point in the history
  • Loading branch information
strykejern committed Jul 10, 2013
1 parent 5a3bb93 commit 1e487d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tree/treeplayer/src/TTreeReaderArray.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ const char* ROOT::TTreeReaderArrayBase::GetBranchContentDataType(TBranch* branch
return 0;
}
dict = myCollectionProxy->GetValueClass();
if (!dict){
Error("GetBranchDataType()", "Could not get valueClass from collectionProxy.");
return 0;
}
contentTypeName = dict->GetName();
return 0;
}
Expand Down

0 comments on commit 1e487d2

Please sign in to comment.