Compiler Error C2205

'identifier' : cannot initialize extern variables with block scope

A variable with extern storage class cannot be initialized in a function.