Fix logic error in string processing.

llvm-svn: 50710
This commit is contained in:
Ted Kremenek 2008-05-06 04:21:38 +00:00
parent c9f4948bba
commit 041d02201f
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ RetainSummaryManager::getInstanceMethodSummary(IdentifierInfo* ClsName,
if (s[0] == '\0')
break;
if (s[0]=='\0' || s[0]!='W' || s[1]!='i' || s[2]!='t' || s[3]!='h')
if (s[0]!='W' || s[1]!='i' || s[2]!='t' || s[3]!='h')
break;
return 0;