projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1446881
)
Remove unused change to argc/argv after long option parsing has been completed.
author
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 01:50:14 +0000
(
01:50
+0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 01:50:14 +0000
(
01:50
+0000)
clang static analyzer fixit.
llvm-svn: 219891
lldb/tools/lldb-platform/lldb-platform.cpp
patch
|
blob
|
history
diff --git
a/lldb/tools/lldb-platform/lldb-platform.cpp
b/lldb/tools/lldb-platform/lldb-platform.cpp
index
5c8057d
..
f1c1a98
100644
(file)
--- 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)
{