fixes static analyzer issues.
Merge branch 'develop' of https://github.com/yepher/DTFoundation into yepher-develop
Fixed analyze warning
Merge branch 'yepher-develop' into develop