[Lldb-commits] [lldb] r217418 - Fix -Werror, -Wcovered-switch-default warning in DWARFExpression
Eric Christopher
echristo at gmail.com
Mon Sep 8 23:03:29 PDT 2014
Author: echristo
Date: Tue Sep 9 01:03:28 2014
New Revision: 217418
URL: http://llvm.org/viewvc/llvm-project?rev=217418&view=rev
Log:
Fix -Werror,-Wcovered-switch-default warning in DWARFExpression
as part of an attempt to get lldb building inside llvm with -Werror
enabled.
Modified:
lldb/trunk/source/Expression/DWARFExpression.cpp
Modified: lldb/trunk/source/Expression/DWARFExpression.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/DWARFExpression.cpp?rev=217418&r1=217417&r2=217418&view=diff
==============================================================================
--- lldb/trunk/source/Expression/DWARFExpression.cpp (original)
+++ lldb/trunk/source/Expression/DWARFExpression.cpp Tue Sep 9 01:03:28 2014
@@ -2690,11 +2690,6 @@ DWARFExpression::Evaluate
}
break;
- default:
- if (error_ptr)
- error_ptr->SetErrorStringWithFormat ("unhandled value type for DW_OP_piece(%" PRIu64 ")", piece_byte_size);
- return false;
-
}
// Check if this is the first piece?
More information about the lldb-commits
mailing list