From: curt Date: Tue, 12 Jun 2001 02:44:40 +0000 (+0000) Subject: - added missing return statements for execute methods X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=03f844d4bef1abad3f2c66f50105bb76fbbdd7f7;p=simgear.git - added missing return statements for execute methods --- 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); }