CppCheck : Remove unused variables

This commit is contained in:
Magne Sjaastad 2018-10-12 16:33:10 +02:00
parent 39088fa9ba
commit 81a48386a4
3 changed files with 0 additions and 3 deletions

View File

@ -341,7 +341,6 @@ void RicExportLgrFeature::onActionTriggered(bool isChecked)
std::vector<RimWellPath*> wellPaths = selectedWellPaths();
CVF_ASSERT(wellPaths.size() > 0);
std::vector<RimSimWellInView*> simWells;
QString dialogTitle = "LGR Export";
int defaultTimeStep = 0;

View File

@ -60,7 +60,6 @@ bool RicCloseCaseFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicCloseCaseFeature::onActionTriggered(bool isChecked)
{
std::vector<RimCase*> rimCases = selectedCases();
std::vector<RimEclipseCase*> eclipseCases;
std::vector<RimGeoMechCase*> geoMechCases;
for (RimCase* rimCase : selectedCases())

View File

@ -215,7 +215,6 @@ void RicNewWellBoreStabilityPlotFeature::createAnglesTrack(RimWellLogPlot* plot,
{
RimWellLogTrack* wellPathAnglesTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack(false, "Well Path Angles", plot);
double minValue = 360.0, maxValue = 0.0;
const double epsilon = 1.0e-3;
const double angleIncrement = 90.0;
std::vector<QString> resultNames = RiaDefines::wellPathAngleResultNames();