From 6500a9867f02c0be6c884acd5f5e5e85ac70cc22 Mon Sep 17 00:00:00 2001 From: Tilmann Scheller Date: Fri, 19 Dec 2014 11:29:34 +0000 Subject: [PATCH 1/1] Remove redundant assignment. Found with the Clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224570 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/MemoryDependenceAnalysis.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index ad7242136bb..881a2565540 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -1145,7 +1145,6 @@ getNonLocalPointerDepFromBB(const PHITransAddr &Pointer, // cache value will only see properly sorted cache arrays. if (Cache && NumSortedEntries != Cache->size()) { SortNonLocalDepInfoCache(*Cache, NumSortedEntries); - NumSortedEntries = Cache->size(); } // Since we bail out, the "Cache" set won't contain all of the // results for the query. This is ok (we can still use it to accelerate -- 2.34.1