From 7d251444e6e1eca8fc9ed456215acbb4ef207456 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 3 Jul 2000 17:45:30 +0000 Subject: [PATCH] Tweaks for 0.0.11 release. --- configure.in | 3 ++- simgear/Makefile.am | 1 + simgear/misc/props.cxx | 20 ++++++++++---------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/configure.in b/configure.in index 63f95597..60cf3557 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ dnl $Id$ AC_INIT(simgear/bucket/newbucket.cxx) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.0.9) +AM_INIT_AUTOMAKE(SimGear, 0.0.11) dnl Checks for programs. AC_PROG_MAKE_SET @@ -257,6 +257,7 @@ AC_OUTPUT( \ simgear/misc/Makefile \ simgear/screen/Makefile \ simgear/serial/Makefile \ + simgear/sky/Makefile \ simgear/xgl/Makefile \ simgear/zlib/Makefile \ ) diff --git a/simgear/Makefile.am b/simgear/Makefile.am index a3d980a4..715caafd 100644 --- a/simgear/Makefile.am +++ b/simgear/Makefile.am @@ -33,6 +33,7 @@ SUBDIRS = \ misc \ screen \ $(SERIAL_DIRS) \ + sky \ xgl \ $(ZLIB_DIRS) diff --git a/simgear/misc/props.cxx b/simgear/misc/props.cxx index 8248a8ac..cbc33068 100644 --- a/simgear/misc/props.cxx +++ b/simgear/misc/props.cxx @@ -240,9 +240,9 @@ FGValue::getBoolValue () const return (getRawDouble() == 0.0 ? false : true); case STRING: return (getRawString() == "false" ? false : true); - default: - return false; } + + return false; } @@ -265,9 +265,9 @@ FGValue::getIntValue () const return (int)(getRawDouble()); case STRING: return atoi(getRawString().c_str()); - default: - return 0; } + + return 0; } @@ -290,9 +290,9 @@ FGValue::getFloatValue () const return (float)(getRawDouble()); case STRING: return (float)atof(getRawString().c_str()); - default: - return 0.0; } + + return 0.0; } @@ -315,9 +315,9 @@ FGValue::getDoubleValue () const return getRawDouble(); case STRING: return atof(getRawString().c_str()); - default: - return 0.0; } + + return 0.0; } @@ -336,9 +336,9 @@ FGValue::getStringValue () const return empty_string; case STRING: return getRawString(); - default: - return empty_string; } + + return empty_string; } -- 2.39.5