summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/tools/lldb-platform/lldb-platform.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/tools/lldb-platform/lldb-platform.cpp b/lldb/tools/lldb-platform/lldb-platform.cpp
index 5c8057d3c29..f1c1a982850 100644
--- a/lldb/tools/lldb-platform/lldb-platform.cpp
+++ b/lldb/tools/lldb-platform/lldb-platform.cpp
@@ -233,10 +233,6 @@ main (int argc, char *argv[])
exit(option_error);
}
- // Skip any options we consumed with getopt_long_only
- argc -= optind;
- argv += optind;
-
// Execute any LLDB commands that we were asked to evaluate.
for (const auto &lldb_command : lldb_commands)
{
OpenPOWER on IntegriCloud