mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[Analyzer] Fix unused variable warning in Release builds
clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:377:19: warning: unused variable 'Init'
This commit is contained in:
parent
e336b74c99
commit
6a1bca8798
@ -379,8 +379,7 @@ ProgramStateRef ExprEngine::updateObjectsUnderConstruction(
|
||||
assert(Init->isAnyMemberInitializer() &&
|
||||
"Base and delegating initializers should have been handled by"
|
||||
"computeObjectUnderConstruction()");
|
||||
return addObjectUnderConstruction(State, ICC->getCXXCtorInitializer(),
|
||||
LCtx, V);
|
||||
return addObjectUnderConstruction(State, Init, LCtx, V);
|
||||
}
|
||||
case ConstructionContext::NewAllocatedObjectKind: {
|
||||
return State;
|
||||
|
Loading…
Reference in New Issue
Block a user