Clean up errors reported by static analyser and fix configurations to run on auto conditions
Fix errors reported by static analyzer
Merge pull request #1222 from ianna/geometry-dtgeometry-statics-cleanup

Misc Geometry fixes -- statics in Geometry/DTGeometry, use auto conditions