diff options
| author | Ed Maste <emaste@freebsd.org> | 2016-09-21 21:08:30 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2016-09-21 21:08:30 +0000 |
| commit | 228e4abb636ec77baf1c5097754d116235229fd3 (patch) | |
| tree | 664d8c080a099eb1a420838c161916fceeee746a /lldb/source/Target/StackFrame.cpp | |
| parent | d3199f5ed26469ba8af5ce9fd487bba4b579046d (diff) | |
| download | bcm5719-llvm-228e4abb636ec77baf1c5097754d116235229fd3.tar.gz bcm5719-llvm-228e4abb636ec77baf1c5097754d116235229fd3.zip | |
Fix -Wcovered-switch-default warning in StackFrame.cpp
The switch coveres all possible values. If a new one is added in the
future the compiler will start warning, providing a notification that
the switch needs updating.
llvm-svn: 282111
Diffstat (limited to 'lldb/source/Target/StackFrame.cpp')
| -rw-r--r-- | lldb/source/Target/StackFrame.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp index a0e9c5001f1..22937c7cf3e 100644 --- a/lldb/source/Target/StackFrame.cpp +++ b/lldb/source/Target/StackFrame.cpp @@ -1278,8 +1278,6 @@ GetBaseExplainingValue(const Instruction::Operand &operand, return std::make_pair(nullptr, 0); } } - default: - return std::make_pair(nullptr, 0); } } |

