Remove useless declaration. If match_type == eNameMatchIgnore, we already left this function at the beginning of the method. Found by coverity. Fixes CID 1094188
llvm-svn: 191617
This commit is contained in:
parent
d28b99374f
commit
30eff98e7e
|
@ -408,8 +408,6 @@ lldb_private::NameMatches (const char *name,
|
|||
llvm::StringRef match_sref(match);
|
||||
switch (match_type)
|
||||
{
|
||||
case eNameMatchIgnore:
|
||||
return true;
|
||||
case eNameMatchEquals: return name_sref == match_sref;
|
||||
case eNameMatchContains: return name_sref.find (match_sref) != llvm::StringRef::npos;
|
||||
case eNameMatchStartsWith: return name_sref.startswith (match_sref);
|
||||
|
|
Loading…
Reference in New Issue