From: James Turner Date: Wed, 18 Mar 2015 19:32:54 +0000 (+0100) Subject: Fix clang warning: unused constant. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cee943076ca56cfe4686df8629b55714d362aff0;p=flightgear.git Fix clang warning: unused constant. --- diff --git a/src/Environment/atmosphere.cxx b/src/Environment/atmosphere.cxx index c3b691348..dc823292f 100644 --- a/src/Environment/atmosphere.cxx +++ b/src/Environment/atmosphere.cxx @@ -23,8 +23,6 @@ ISA_layer(7, 80000, 262467, 0.88628, 0.000261718, 196.65, -76.50, 0.0, ISA_layer(8, 1.0e9, 3.28e9, 0.00001, 3.0e-9, 2.73, -270.4, 0.0, 0.0), }; -const int ISA_def_size(sizeof(ISA_def) / sizeof(ISA_layer)); - // Pressure within a layer, as a function of height. // Physics model: standard or nonstandard atmosphere, // depending on what parameters you pass in.