Fixed implicit function declaration warning in joystick source for Android.
Fixed unreachable return statement warning in gamecontroller source.
Added missing resource release in test source.