Changeset 58556 in vbox for trunk/src/VBox/Installer/win/Stub
- Timestamp:
- Nov 4, 2015 9:05:29 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Stub/VBoxStub.cpp
r57358 r58556 881 881 /* Parse the parameters. */ 882 882 int ch; 883 bool f ParsingDone= false;883 bool fExitEarly = false; 884 884 RTGETOPTUNION ValueUnion; 885 885 RTGETOPTSTATE GetState; … … 887 887 while ( (ch = RTGetOpt(&GetState, &ValueUnion)) 888 888 && rcExit == RTEXITCODE_SUCCESS 889 && !f ParsingDone)889 && !fExitEarly) 890 890 { 891 891 switch (ch) … … 937 937 VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, 938 938 VBOX_SVN_REV); 939 f ParsingDone= true;939 fExitEarly = true; 940 940 break; 941 941 … … 962 962 VBOX_STUB_TITLE, VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV, 963 963 argv[0], argv[0]); 964 f ParsingDone= true;964 fExitEarly = true; 965 965 break; 966 966 … … 993 993 } 994 994 } 995 996 /* Check if we can bail out early. */ 997 if (fExitEarly) 998 return rcExit; 995 999 996 1000 if (rcExit != RTEXITCODE_SUCCESS)
Note:
See TracChangeset
for help on using the changeset viewer.