TS-2729: fix warnings from gcc