Address msvc static analysis report.