initialise enum
initialise NavigationMode enum
fix CID 60866, integer is cast to float or double
Merge branch 'master' into coverity_scan