mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
debugserver: fix a few -Wcovered-swift-default warnings
Remove a couple of `default` cases from switches which are covered. This is beneficial since it would allow the compiler to indicate when a new enum value is added and the switch is not updated. Fixes some warnings from clang. NFC. llvm-svn: 268756
This commit is contained in:
@@ -362,7 +362,6 @@ DNBDataRef::Dump
|
||||
// the snprintf call each time through this loop
|
||||
switch (type)
|
||||
{
|
||||
default:
|
||||
case TypeUInt8: str_offset += snprintf(str + str_offset, sizeof(str) - str_offset, format ? format : " %2.2x", Get8(&offset)); break;
|
||||
case TypeChar:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user