FW-229. Travis-build error. declare variable at the beginning of function.