diff options
| author | Todd Fiala <todd.fiala@gmail.com> | 2014-05-28 16:43:26 +0000 |
|---|---|---|
| committer | Todd Fiala <todd.fiala@gmail.com> | 2014-05-28 16:43:26 +0000 |
| commit | 0a70a845342cd75f40b7de3f0e7e70d973f5aecb (patch) | |
| tree | 10cb95a48b345373110a7e2308b4b95716c914d1 /lldb/source/Commands | |
| parent | 2c77fe59d9c1ab15b2032db2db932ce54774b3a9 (diff) | |
| download | bcm5719-llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.tar.gz bcm5719-llvm-0a70a845342cd75f40b7de3f0e7e70d973f5aecb.zip | |
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')
| -rw-r--r-- | lldb/source/Commands/CommandObjectArgs.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectArgs.cpp b/lldb/source/Commands/CommandObjectArgs.cpp index cbfd05568c6..e834298f090 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; } |

