]> git.mxchange.org Git - flightgear.git/commitdiff
Fix compiler warning (naRuntimeError does not return...)
authorThomas Geymayer <tomgey@gmail.com>
Sun, 22 Jun 2014 22:42:17 +0000 (00:42 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 22 Jun 2014 22:42:17 +0000 (00:42 +0200)
src/Scripting/NasalCondition.cxx

index a28842b45c316c78658e5f8ca83cd763cedf46f2..7a47cda4178e1cac4e35d23d74ccfcd9000a61d6 100644 (file)
@@ -53,6 +53,8 @@ static naRef f_createCondition(naContext c, naRef me, int argc, naRef* args)
   {
     naRuntimeError(c, "createCondition: %s", ex.what());
   }
+
+  return naNil();
 }
 
 //------------------------------------------------------------------------------