From ce2a6cfe5c640e9c12a974a0ce4b2d12a19c672e Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 26 Jan 2009 18:01:48 +0000 Subject: [PATCH] Csaba HALASZ: set _arg even if there's no (crash fix) --- simgear/structure/SGBinding.cxx | 1 - 1 file changed, 1 deletion(-) 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); -- 2.39.5