summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/Options.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-04-19 21:31:16 +0000
committerGreg Clayton <gclayton@apple.com>2013-04-19 21:31:16 +0000
commit03da4cc294bbb81c6a3346415afd860b34d25940 (patch)
treee8e7fd1789afa688611b93cab93918909b17c07c /lldb/source/Interpreter/Options.cpp
parent2b4e6b8de21bd786d5294d4429e674d6eb82099a (diff)
downloadbcm5719-llvm-03da4cc294bbb81c6a3346415afd860b34d25940.tar.gz
bcm5719-llvm-03da4cc294bbb81c6a3346415afd860b34d25940.zip
Fixed some linux buildbot warnings.
llvm-svn: 179892
Diffstat (limited to 'lldb/source/Interpreter/Options.cpp')
-rw-r--r--lldb/source/Interpreter/Options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/Options.cpp b/lldb/source/Interpreter/Options.cpp
index 8318c4dd9ba..98e153c131b 100644
--- a/lldb/source/Interpreter/Options.cpp
+++ b/lldb/source/Interpreter/Options.cpp
@@ -522,8 +522,7 @@ Options::GenerateOptionUsage
std::set<int> options;
std::set<int>::const_iterator options_pos, options_end;
- bool first;
- for (i = 0, first = true; i < num_options; ++i)
+ for (i = 0; i < num_options; ++i)
{
if (opt_defs[i].usage_mask & opt_set_mask && isprint8(opt_defs[i].short_option))
{
OpenPOWER on IntegriCloud