local variable 'name' used without having been initialized
You used the local variable name without first assigning it a value, which could lead to unpredictable results.
This warning is issued only when either /Od or /Ox is specified.