fix: zero initialize local variables. (#1743)

* Zero initialize local variables.

* Initialize xmpID_
This commit is contained in:
Kevin Backhouse
2021-06-27 07:56:31 +01:00
committed by GitHub
parent fe83c739a2
commit 2b84f4bd64
21 changed files with 34 additions and 33 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ int main()
try {
std::string s(testcase);
std::cout << std::setw(12) << std::left << s;
bool ok;
bool ok = false;
long l = Exiv2::parseLong(s, ok);
std::cout << std::setw(12) << std::left;