mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
Fix unused variable warning
llvm-svn: 70946
This commit is contained in:
@@ -212,7 +212,7 @@ SVal BasicStoreManager::getLValueElement(const GRState* St,
|
||||
case loc::MemRegionKind: {
|
||||
const MemRegion *R = cast<loc::MemRegionVal>(BaseL).getRegion();
|
||||
|
||||
if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
|
||||
if (isa<ElementRegion>(R)) {
|
||||
// int x;
|
||||
// char* y = (char*) &x;
|
||||
// 'y' => ElementRegion(0, VarRegion('x'))
|
||||
|
||||
Reference in New Issue
Block a user