diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:02:18 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:02:18 +0000 |
commit | 0ac5618eab1c706ef16f10b9ecdfa03d7fe341d9 (patch) | |
tree | 14fa2d4404c0609f784ca91c8b72f218ac63e326 /lib/Analysis/BasicStore.cpp | |
parent | 6a08469ebe3e15262733841a9c29e2e563d78ba5 (diff) |
Remove possibly incorrect assertion that doesn't matter.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index 95bb6f1a05..cf70733d43 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -217,9 +217,6 @@ SVal BasicStoreManager::getLValueElement(const GRState* St, // char* y = (char*) &x; // 'y' => ElementRegion(0, VarRegion('x')) // y[0] = 'a'; - assert(ER->getIndex().isUnknown() || - cast<nonloc::ConcreteInt>(ER->getIndex()).getValue() == 0); - ER = ER; // silence 'unused' warning in release modes. return Base; } |