From 13b05db6f9ee0dcae4b05c93736ec36f6dd4d925 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Thu, 10 Dec 2015 09:11:09 +0100 Subject: [PATCH] UIUC cleanup of -Wunused-but-set-variable compilation warnings. The two unused variables were commented out. --- src/FDM/LaRCsim/basic_aero.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/FDM/LaRCsim/basic_aero.c b/src/FDM/LaRCsim/basic_aero.c index d035dd808..95a907368 100644 --- a/src/FDM/LaRCsim/basic_aero.c +++ b/src/FDM/LaRCsim/basic_aero.c @@ -126,7 +126,7 @@ void basic_aero(SCALAR dt, int Initialize) SCALAR Cl_dr; SCALAR Cn_dr; - SCALAR CY_da; + //SCALAR CY_da; SCALAR Cl_da; SCALAR Cn_da; @@ -134,7 +134,7 @@ void basic_aero(SCALAR dt, int Initialize) SCALAR CG_arm; SCALAR CL_drop; SCALAR CD_stall = 0.05; - int stalling; + //int stalling; SCALAR span_eff; SCALAR CL_CD0; @@ -193,7 +193,7 @@ void basic_aero(SCALAR dt, int Initialize) CY_dr = 0.000000E+00; Cl_dr = 0.000000E+00; Cn_dr = 0.000000E+00; - CY_da = -0.135890; + //CY_da = -0.135890; Cl_da = -0.307921E-02; Cn_da = 0.527143E-01; span_eff = 0.95; @@ -344,41 +344,41 @@ void basic_aero(SCALAR dt, int Initialize) dCL_cent = 0.; dCL_right = 0.; - stalling=0; + //stalling=0; if (CL_left > CL_max) { dCL_left = CL_max-CL_left -CL_drop; - stalling=1; + //stalling=1; } if (CL_cent > CL_max) { dCL_cent = CL_max-CL_cent -CL_drop; - stalling=1; + //stalling=1; } if (CL_right > CL_max) { dCL_right = CL_max-CL_right -CL_drop; - stalling=1; + //stalling=1; } if (CL_left < CL_min) { dCL_left = CL_min-CL_left -CL_drop; - stalling=1; + //stalling=1; } if (CL_cent < CL_min) { dCL_cent = CL_min-CL_cent -CL_drop; - stalling=1; + //stalling=1; } if (CL_right < CL_min) { dCL_right = CL_min-CL_right -CL_drop; - stalling=1; + //stalling=1; } /* set average wing CL */ -- 2.39.5