Skip to content

Commit 2aaeb5e

Browse files
committed
Remove an unused variable
1 parent 79e5875 commit 2aaeb5e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,6 @@ void SmartPtrModeling::handleBoolConversion(const CallEvent &Call,
851851
if (InnerPointerType.isNull())
852852
return;
853853

854-
const LocationContext *LC = C.getLocationContext();
855854
InnerPointerVal = C.getSValBuilder().conjureSymbolVal(
856855
Call, InnerPointerType, C.blockCount());
857856
State = State->set<TrackedRegionMap>(ThisRegion, InnerPointerVal);

0 commit comments

Comments
 (0)