X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2Fjsinput.cxx;h=5bf12a4c5ab0d3fb343648f946efc7e8d34e9114;hb=e779ec44b46999d9527427ed6c55eb991c4f42c1;hp=48d0d74be1650a9c8a595092bf84f1e838b53ff1;hpb=9124dd945d9142b667839761f57075d07e4d1585;p=flightgear.git diff --git a/src/Input/jsinput.cxx b/src/Input/jsinput.cxx index 48d0d74be..5bf12a4c5 100644 --- a/src/Input/jsinput.cxx +++ b/src/Input/jsinput.cxx @@ -18,11 +18,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#include #include -#include -#include - jsInput::jsInput(jsSuper *j) { jss=j; @@ -38,7 +34,7 @@ int jsInput::getInput(void){ bool gotit=false; float delta; - int i,current_button=0,button_bits; + int i, current_button = 0, button_bits = 0; joystick=axis=button=-1; @@ -113,5 +109,7 @@ int jsInput::getInput(void){ } } } + + return 0; }