commit | e5ee70d08e62cb6c96a736163204c12c6ef8147a | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Tue Dec 06 23:12:17 2011 +0000 |
committer | Anna Zaks <ganna@apple.com> | Tue Dec 06 23:12:17 2011 +0000 |
tree | 25d2a9f945c1267f7803f9d661005a80855fd9f1 | |
parent | e912029b914f263ec22cba6f1fb41ebebcdd844f [diff] [blame] |
[analyzer] Remove an unnecessary check. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145984 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp b/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp index 0819e86..415346f 100644 --- a/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp
@@ -47,7 +47,7 @@ if (!State) return; - if (E && State->isTainted(E)) { + if (State->isTainted(E)) { if (ExplodedNode *N = C.addTransition()) { initBugType(); BugReport *report = new BugReport(*BT, "tainted",N);