From: mfranz Date: Mon, 26 Jan 2009 18:01:48 +0000 (+0000) Subject: Csaba HALASZ: set _arg even if there's no (crash fix) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ce2a6cfe5c640e9c12a974a0ce4b2d12a19c672e;p=simgear.git Csaba HALASZ: set _arg even if there's no (crash fix) --- diff --git a/simgear/structure/SGBinding.cxx b/simgear/structure/SGBinding.cxx index 0c3f7feb..e65b4d2a 100644 --- a/simgear/structure/SGBinding.cxx +++ b/simgear/structure/SGBinding.cxx @@ -42,7 +42,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);