Fix for coverity 50419.


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@49196 27541ba8-7e3a-0410-8455-c3a389f83636
merge with trunk -  revision 49198  - see http://root.cern.ch/viewvc?rev=49198&root=root&view=rev


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@49199 27541ba8-7e3a-0410-8455-c3a389f83636
merge with trunk -  revision 49200  - see http://root.cern.ch/viewvc?rev=49200&root=root&view=rev


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@49201 27541ba8-7e3a-0410-8455-c3a389f83636