Skip to content

Commit b47c464

Browse files
authored
unused variables
1 parent ab1bb6a commit b47c464

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

SU2_CFD/src/output/CFlowOutput.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ void CFlowOutput::Set_NearfieldInverseDesign(CSolver *solver, const CGeometry *g
794794

795795
bool output = true;
796796
ofstream EquivArea_file, FuncGrad_file;
797-
unsigned short iMarker = 0, iDim;
797+
unsigned short iMarker = 0;
798798
su2double Gamma, auxXCoord, auxYCoord, auxZCoord, InverseDesign = 0.0, DeltaX, Coord_i, Coord_j, jp1Coord, *Coord = nullptr, MeanFuntion,
799799
*Face_Normal = nullptr, auxArea, auxPress, Mach, Beta, R_Plane, Pressure_Inf, factor,
800800
jFunction, jp1Function;
@@ -815,7 +815,6 @@ void CFlowOutput::Set_NearfieldInverseDesign(CSolver *solver, const CGeometry *g
815815
Beta = sqrt(Mach*Mach-1.0);
816816
R_Plane = fabs(config->GetEA_IntLimit(2));
817817
Pressure_Inf = config->GetPressure_FreeStreamND();
818-
const su2double ModVelocity_Inf = GeometryToolbox::SquaredNorm(3, config->GetVelocity_FreeStreamND());
819818

820819
factor = 4.0*sqrt(2.0*Beta*R_Plane) / (Gamma*Pressure_Inf*Mach*Mach);
821820

0 commit comments

Comments
 (0)