diff options
author | Tianjie Xu <xunchang@google.com> | 2019-09-13 15:54:33 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-09-13 15:54:33 -0700 |
commit | 6dd761313e261e7b7c37c3f4a75cadbb3e91b094 (patch) | |
tree | 63dba96f9bc58ea3c4e264abb2b931ff41eca673 | |
parent | f4c57d47ffabbd46f9add7421adcb20f19b7d9a6 (diff) | |
parent | 3153f95a452fd9d7771b8f0395d4355839c4be0c (diff) | |
download | bsdiff-6dd761313e261e7b7c37c3f4a75cadbb3e91b094.tar.gz |
Merge "Fix the unintialized value reported by msan"
am: 3153f95a45
Change-Id: I508cc97fa41029d1485c89792ea560a23749979d
-rw-r--r-- | bsdiff_arguments.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsdiff_arguments.cc b/bsdiff_arguments.cc index 20e6149..7ea9b6d 100644 --- a/bsdiff_arguments.cc +++ b/bsdiff_arguments.cc @@ -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; |