Import revision 49054 from the trunk:
Fix coverity warnings


git-svn-id: https://root.cern.ch/svn/root/branches/v5-34-00-patches@49055 27541ba8-7e3a-0410-8455-c3a389f83636
Import revision 49053 from the trunk:
Fix compiler warnings


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