Merge "Fix the unintialized value reported by msan"

This commit is contained in:
Tianjie Xu authored and Gerrit Code Review committed 2019-09-13 22:41:41 +00:00
commit 3153f95a45
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@ bool BsdiffArguments::IsValid() const {
bool BsdiffArguments::ParseCommandLine(int argc, char** argv) {
int opt;
int option_index;
int option_index = 0;
while ((opt = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) {
if (opt != 0) {
return false;