Local style is to declare all variables at the start of the function rather than inline.