HPCC-11846 Fix various clang warnings

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
yes it is.  Quite possibly.