]> git.mxchange.org Git - flightgear.git/commitdiff
Melchior caught a missing return value that is now an error on newer gcc versions
authorandy <andy>
Mon, 15 Nov 2004 18:15:33 +0000 (18:15 +0000)
committerandy <andy>
Mon, 15 Nov 2004 18:15:33 +0000 (18:15 +0000)
src/Scripting/NasalSys.cxx

index e8e0c676b451c7f9cad2e45672068a2cd9afd42c..c7063647ca889966cde8d2002d9c02795631e3b2 100644 (file)
@@ -267,6 +267,8 @@ static naRef f_interpolate(naContext c, naRef args)
 
     ((SGInterpolator*)globals->get_subsystem("interpolator"))
         ->interpolate(node, nPoints, values, deltas);
+
+    return naNil();
 }
 
 static naRef f_rand(naContext c, naRef args)