mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
More Linux warnings fixes (remove default labels as needed):
- as per http://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations Patch by Matt Kopec! llvm-svn: 169633
This commit is contained in:
@@ -249,8 +249,6 @@ lldb_private::GetVoteAsCString (Vote vote)
|
||||
case eVoteNo: return "no";
|
||||
case eVoteNoOpinion: return "no opinion";
|
||||
case eVoteYes: return "yes";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
return "invalid";
|
||||
}
|
||||
@@ -327,9 +325,6 @@ lldb_private::NameMatches (const char *name,
|
||||
return regex.Execute (name);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
assert (!"unhandled NameMatchType in lldb_private::NameMatches()");
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user