Fix caching bug revealed by analyzing ClamAV using RegionStore.

llvm-svn: 76262
This commit is contained in:
Ted Kremenek 2009-07-17 23:48:26 +00:00
parent fe9b768aaa
commit fc311292da
1 changed files with 1 additions and 2 deletions

View File

@ -2205,8 +2205,7 @@ void GRExprEngine::VisitDeclStmt(DeclStmt* DS, NodeTy* Pred, NodeSet& Dst) {
if (InitEx)
Visit(InitEx, Pred, Tmp);
if (Tmp.empty())
else
Tmp.Add(Pred);
for (NodeSet::iterator I=Tmp.begin(), E=Tmp.end(); I!=E; ++I) {