altoslib: comment out un-used variables
authorMike Beattie <mike@ethernal.org>
Fri, 7 Sep 2012 05:34:17 +0000 (17:34 +1200)
committerMike Beattie <mike@ethernal.org>
Fri, 7 Sep 2012 05:34:17 +0000 (17:34 +1200)
Signed-off-by: Mike Beattie <mike@ethernal.org>
altoslib/AltosEepromIterable.java
altoslib/AltosEepromMegaIterable.java
altoslib/AltosIgnite.java
altoslib/AltosMs5607.java
altoslib/AltosState.java

index fc308c34442f95468e23cafe504a7937121def86..107ad9f0023d2c154f785fc4d5891b20652c7bc0 100644 (file)
@@ -236,7 +236,7 @@ public class AltosEepromIterable extends AltosRecordIterable {
                Iterator<AltosOrderedRecord>    iterator = records.iterator();
                AltosOrderedRecord              record = null;
                AltosRecordTM                   state = new AltosRecordTM();
-               boolean                         last_reported = false;
+               //boolean                               last_reported = false;
                EepromState                     eeprom = new EepromState();
 
                state.state = AltosLib.ao_flight_pad;
index be20ba6364f4a1be24b2a6d96088e21a3874e740..aeb9135d6a1e1339958c31b6dd3032725bc49530 100644 (file)
@@ -283,7 +283,7 @@ public class AltosEepromMegaIterable extends AltosRecordIterable {
                Iterator<AltosOrderedMegaRecord>        iterator = records.iterator();
                AltosOrderedMegaRecord          record = null;
                AltosRecordMM                   state = new AltosRecordMM();
-               boolean                         last_reported = false;
+               //boolean                               last_reported = false;
                EepromState                     eeprom = new EepromState();
 
                state.state = AltosLib.ao_flight_pad;
index cc814337d1510ad4e225e40c3de67986c3233d5c..e89f1b65bdb10aecc5b7e14fbd26cc41525770ae 100644 (file)
@@ -95,7 +95,7 @@ public class AltosIgnite {
                int status = Unknown;
                if (link == null)
                        return status;
-               string_ref status_name = new string_ref();
+               //string_ref status_name = new string_ref();
                try {
                        start_link();
                        link.printf("t\n");
index 5fd997d8ab73f8d64393c7cdc353ba1199a22738..268e89f6fd85fa0908945b431ccc633138f00a35 100644 (file)
@@ -37,7 +37,7 @@ public class AltosMs5607 {
                int TEMP;
                long OFF;
                long SENS;
-               int P;
+               //int P;
 
                dT = raw_temp - ((int) tref << 8);
        
index 3b37a3d4b498fc90a8ba4e47cd1d6a03fd5681d8..2806812e4fc9f992b2fd7447eb2913eedf6b1670 100644 (file)
@@ -77,8 +77,8 @@ public class AltosState {
        public double   speak_altitude;
 
        public void init (AltosRecord cur, AltosState prev_state) {
-               int             i;
-               AltosRecord prev;
+               //int           i;
+               //AltosRecord prev;
 
                data = cur;