From 9fd917ba3d97e1acb86f71f3be76b2b544d194ea Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 26 Oct 2018 19:40:18 +0000 Subject: [PATCH] Remove an early-return from Driver::ParseArgs that was added as a part of D52604 / r343348. If the lldb driver is run without any arguments, .lldbinit file reading was not enabled. llvm-svn: 345422 --- lldb/tools/driver/Driver.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp index 4ca8b7959435..835f1d990d1f 100644 --- a/lldb/tools/driver/Driver.cpp +++ b/lldb/tools/driver/Driver.cpp @@ -578,10 +578,6 @@ SBError Driver::ParseArgs(int argc, const char *argv[], FILE *out_fh, ResetOptionValues(); - // No arguments or just program name, nothing to parse. - if (argc <= 1) - return SBError(); - SBError error; std::vector