]> git.mxchange.org Git - simgear.git/commitdiff
Csaba HALASZ: set _arg even if there's no <command> (crash fix)
authormfranz <mfranz>
Mon, 26 Jan 2009 18:01:48 +0000 (18:01 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 28 Jan 2009 06:46:31 +0000 (07:46 +0100)
simgear/structure/SGBinding.cxx

index 0c3f7feb4eb384090366c135b8028594c9c854db..e65b4d2a8bf584a3928f9f06bd1605e7b1f8e17b 100644 (file)
@@ -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<SGPropertyNode*>(node);