aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectArgs.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-05-28 16:43:26 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-05-28 16:43:26 +0000
commit0a70a845342cd75f40b7de3f0e7e70d973f5aecb (patch)
tree10cb95a48b345373110a7e2308b4b95716c914d1 /lldb/source/Commands/CommandObjectArgs.cpp
parent2c77fe59d9c1ab15b2032db2db932ce54774b3a9 (diff)
downloadllvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.zip
llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.tar.gz
llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.tar.bz2
Fix Windows warnings.
This fixes a number of trivial warnings in the Windows build. This is part of a larger effort to make the Windows build warning-free. See http://reviews.llvm.org/D3914 for more details. Change by Zachary Turner llvm-svn: 209749
Diffstat (limited to 'lldb/source/Commands/CommandObjectArgs.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectArgs.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp
index cbfd055..e834298 100644
--- a/lldb/source/Commands/CommandObjectArgs.cpp
+++ b/lldb/source/Commands/CommandObjectArgs.cpp
@@ -57,13 +57,7 @@ CommandObjectArgs::CommandOptions::SetOptionValue (uint32_t option_idx, const ch
Error error;
const int short_option = m_getopt_table[option_idx].val;
-
- switch (short_option)
- {
- default:
- error.SetErrorStringWithFormat("invalid short option character '%c'", short_option);
- break;
- }
+ error.SetErrorStringWithFormat("invalid short option character '%c'", short_option);
return error;
}