X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fstructure%2FSGBinding.cxx;h=9e5fce06a5a3745a5e79dfa8b8b5bc2b5e42beaa;hb=4e46bb667179cd45cfb2f9934734ceddd1ea01b4;hp=0c3f7feb4eb384090366c135b8028594c9c854db;hpb=607511fd64e5b77f7cb2f2b740460511880b11ad;p=simgear.git diff --git a/simgear/structure/SGBinding.cxx b/simgear/structure/SGBinding.cxx index 0c3f7feb..9e5fce06 100644 --- a/simgear/structure/SGBinding.cxx +++ b/simgear/structure/SGBinding.cxx @@ -7,9 +7,15 @@ * $Id$ */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include "SGBinding.hxx" +#include + SGBinding::SGBinding() : _command(0), _arg(new SGPropertyNode), @@ -42,7 +48,6 @@ SGBinding::read(const SGPropertyNode* node, SGPropertyNode* root) if (_command_name.empty()) { SG_LOG(SG_INPUT, SG_WARN, "No command supplied for binding."); _command = 0; - return; } _arg = const_cast(node);