From 03f844d4bef1abad3f2c66f50105bb76fbbdd7f7 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 12 Jun 2001 02:44:40 +0000 Subject: [PATCH] - added missing return statements for execute methods --- simgear/misc/commands.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/simgear/misc/commands.cxx b/simgear/misc/commands.cxx index 73964428..7818b68d 100644 --- a/simgear/misc/commands.cxx +++ b/simgear/misc/commands.cxx @@ -65,7 +65,7 @@ SGCommandMgr::execute (const string &name) const { // FIXME SGPropertyNode node; - execute(name, &node); + return execute(name, &node); } @@ -75,7 +75,7 @@ SGCommandMgr::execute (const string &name, bool value) const // FIXME SGPropertyNode node; node.setBoolValue(value); - execute(name, &node); + return execute(name, &node); } @@ -85,7 +85,7 @@ SGCommandMgr::execute (const string &name, int value) const // FIXME SGPropertyNode node; node.setIntValue(value); - execute(name, &node); + return execute(name, &node); } @@ -95,7 +95,7 @@ SGCommandMgr::execute (const string &name, long value) const // FIXME SGPropertyNode node; node.setLongValue(value); - execute(name, &node); + return execute(name, &node); } @@ -105,7 +105,7 @@ SGCommandMgr::execute (const string &name, float value) const // FIXME SGPropertyNode node; node.setFloatValue(value); - execute(name, &node); + return execute(name, &node); } @@ -115,7 +115,7 @@ SGCommandMgr::execute (const string &name, double value) const // FIXME SGPropertyNode node; node.setDoubleValue(value); - execute(name, &node); + return execute(name, &node); } @@ -125,7 +125,7 @@ SGCommandMgr::execute (const string &name, string value) const // FIXME SGPropertyNode node; node.setStringValue(value); - execute(name, &node); + return execute(name, &node); } -- 2.39.5