Unused assignment in constructor