X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmagvar%2Fmagvar.cxx;h=11f59b8b468a62c2e6c902b11332aeb09bac37b3;hb=09a57c7a520cfd68e167b896850cfc37287f550d;hp=ff17ae5d2205f6a6ac5106dba3b6e25e7f4d2124;hpb=7db44c113c2cbbd05938f2d444a5d63f005d0ce4;p=simgear.git diff --git a/simgear/magvar/magvar.cxx b/simgear/magvar/magvar.cxx index ff17ae5d..11f59b8b 100644 --- a/simgear/magvar/magvar.cxx +++ b/simgear/magvar/magvar.cxx @@ -2,7 +2,7 @@ // // Written by Curtis Olson, started July 2000. // -// Copyright (C) 2000 Curtis L. Olson - curt@flightgear.org +// Copyright (C) 2000 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as @@ -16,25 +16,23 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ -#ifdef HAVE_CONFIG_H -# include -#endif - #include -#include #include #include "coremag.hxx" #include "magvar.hxx" -SGMagVar::SGMagVar() { +SGMagVar::SGMagVar() + : magvar(0.0), + magdip(0.0) +{ } SGMagVar::~SGMagVar() {