Fix a few VS2013 /analyze C6001 warnings about using unitialized memory.
Reindent files.
Reduce variable scope.
Remove unused variables.
StaticLink.cpp: fix the C6319 /analyze warning.