TS-2959

Fix gcc 4.9.2 compiler warning.