commit | 041d02201f02b407db70183f234f072fdb2eb6d7 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue May 06 04:21:38 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue May 06 04:21:38 2008 +0000 |
tree | e98ad1d489faec0a28f0c58c7dd1a9252d322ca8 | |
parent | c9f4948bbadcac3b952c31e4f5d5c213b9f1ff95 [diff] [blame] |
Fix logic error in string processing. llvm-svn: 50710
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 5ba37d4..040445b 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -636,7 +636,7 @@ 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;