Merge branch 'warnings' into 'master'

More work on compiler warnings

See merge request !64
9 jobs for master in 9 minutes and 58 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed clang-c++11 #76324
Linux

00:03:58

passed cppcheck #76326
Linux

00:00:28

passed doc #76331
Linux

00:00:17

passed gcc-c++11 #76323
Linux

00:03:54

passed macos-c++11 #76325
Apple

00:01:40

passed VS2015-32-bit #76330
VS2015

00:01:12

passed VS2015-64-bit #76329
VS2015

00:01:25

passed VS2017-32-bit #76328
VS2017

00:01:10

passed VS2017-64-bit #76327
VS2015

00:01:26