diff options
| author | Jason Molenda <jmolenda@apple.com> | 2014-10-16 01:50:14 +0000 |
|---|---|---|
| committer | Jason Molenda <jmolenda@apple.com> | 2014-10-16 01:50:14 +0000 |
| commit | 3c86c7e3a21ec56144021e9a5f15c346f75e06af (patch) | |
| tree | 660b705e3ff939690dd81667c40d85679cd1d9dc | |
| parent | 1446881254647aa3fde354d79387d015339765c4 (diff) | |
| download | bcm5719-llvm-3c86c7e3a21ec56144021e9a5f15c346f75e06af.tar.gz bcm5719-llvm-3c86c7e3a21ec56144021e9a5f15c346f75e06af.zip | |
Remove unused change to argc/argv after long option parsing has been completed.
clang static analyzer fixit.
llvm-svn: 219891
| -rw-r--r-- | lldb/tools/lldb-platform/lldb-platform.cpp | 4 |
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) { |

