From 3c86c7e3a21ec56144021e9a5f15c346f75e06af Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 16 Oct 2014 01:50:14 +0000 Subject: [PATCH] Remove unused change to argc/argv after long option parsing has been completed. clang static analyzer fixit. llvm-svn: 219891 --- lldb/tools/lldb-platform/lldb-platform.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lldb/tools/lldb-platform/lldb-platform.cpp b/lldb/tools/lldb-platform/lldb-platform.cpp index 5c8057d..f1c1a98 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) { -- 2.7.4