fix gcc warning if COMPILE_TIME_LOGLEVEL is non-zero