]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/jssuper.cxx
- adjusted for no-value constructor for FGPanel
[flightgear.git] / src / Input / jssuper.cxx
index 4e1bf8059753d7c1808e156d8cd2fbe39922b999..49141da12500764e17068735574d0e6806c30f35 100644 (file)
@@ -19,9 +19,6 @@
 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 
-#include <string.h>            // plib/js.h should really include this !!!!!!
-#include <plib/js.h>
-
 #include <jssuper.h>
 
 
@@ -51,7 +48,7 @@ jsSuper::jsSuper(void) {
 
 
 int jsSuper::nextJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0;
   if(currentJoystick == last ) return 0; 
   currentJoystick++;
@@ -60,7 +57,7 @@ int jsSuper::nextJoystick(void) {
 }    
         
 int jsSuper::prevJoystick(void) { 
-  int i;
+  // int i;
   if(!activeJoysticks) return 0; 
   if(currentJoystick == first ) return 0; 
   currentJoystick--;