mirror of
https://github.com/expo/bsdiff.git
synced 2026-11-14 08:38:17 -10:00
Merge "Fix the unintialized value reported by msan"
This commit is contained in:
commit
3153f95a45
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user