[CB-1285] fixed unsued var warning, and incomplete implementation warning