diff options
author | Mike Beattie <mike@ethernal.org> | 2012-09-07 17:53:20 +1200 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2012-09-07 17:53:20 +1200 |
commit | bbbe1846346b4ba61330f535a12b7a5029877ee6 (patch) | |
tree | 9d1f91aac0a21005deefa4df2744f026f186e941 /altoslib/AltosEepromIterable.java | |
parent | 02d31db3d3255568cc348a41aa37a461d63ffde2 (diff) |
altoslib: remove dead code
(if object creation fails, an exception will be thrown - not return null)
Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'altoslib/AltosEepromIterable.java')
-rw-r--r-- | altoslib/AltosEepromIterable.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/altoslib/AltosEepromIterable.java b/altoslib/AltosEepromIterable.java index 107ad9f0..7c752271 100644 --- a/altoslib/AltosEepromIterable.java +++ b/altoslib/AltosEepromIterable.java @@ -401,8 +401,6 @@ public class AltosEepromIterable extends AltosRecordIterable { if (line == null) break; AltosOrderedRecord record = new AltosOrderedRecord(line, index++, prev_tick, prev_tick_valid); - if (record == null) - break; if (record.cmd == AltosLib.AO_LOG_INVALID) continue; prev_tick = record.tick; |