commit | b07320e986fa7c3e0a2cf5a781229a2c17cba234 | [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 | c2110b2796dbd733e058fbaf6df64091d77ca7c0 | |
parent | a7d639f49c4c5162c8ea915188a6fc3e32f3ab62 [diff] [blame] |
Fix logic error in string processing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50710 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 5ba37d4..040445b 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/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;