https://bugzilla.tianocore.org/show_bug.cgi?id=417
The commit makes the following refinements in GenVtf source codes to
avoid VS2010/VS2012 build failure:
1. Refines coding style to declare local variables at the beginning of a
code block in function 'main'.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
}\r
SymFileName = VTF_SYM_FILE;\r
} else {\r
}\r
SymFileName = VTF_SYM_FILE;\r
} else {\r
- assert (OutFileName1);\r
- INTN OutFileNameLen = strlen(OutFileName1);\r
+ assert (OutFileName1);\r
+ OutFileNameLen = strlen(OutFileName1);\r
+\r
for (NewIndex = OutFileNameLen; NewIndex > 0; --NewIndex) {\r
if (OutFileName1[NewIndex] == '/' || OutFileName1[NewIndex] == '\\') {\r
break;\r
for (NewIndex = OutFileNameLen; NewIndex > 0; --NewIndex) {\r
if (OutFileName1[NewIndex] == '/' || OutFileName1[NewIndex] == '\\') {\r
break;\r