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:
Daniel Malea
2012-12-07 20:51:09 +00:00
parent 4ec32d3d90
commit 89660bf795
31 changed files with 0 additions and 162 deletions

View File

@@ -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;