diff options
author | Nathan Samson <nathansamson@gmail.com> | 2011-09-04 12:59:54 +0200 |
---|---|---|
committer | Nathan Samson <nathansamson@gmail.com> | 2011-09-04 15:18:20 +0200 |
commit | f12382c66f2b3deddf38f7d51fda3a2c75a0c5fa (patch) | |
tree | 9ff803a5b111d43845bb36d08fb9159b245ab51b /dive.c | |
parent | a6b9eaee0aa2ff67482560f4401e0dc6f2c79237 (diff) | |
download | subsurface-f12382c66f2b3deddf38f7d51fda3a2c75a0c5fa.tar.gz |
Removed the unused startemp and enttemp calculations. This fixes a compiler warning too.
Signed-off-by: Nathan Samson <nathansamson@gmail.com>
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -34,7 +34,6 @@ struct dive *fixup_dive(struct dive *dive) int lasttime = 0; int start = -1, end = -1; int startpress = 0, endpress = 0; - int starttemp = 0, endtemp = 0; int maxdepth = 0, mintemp = 0; int lastdepth = 0; @@ -60,9 +59,6 @@ struct dive *fixup_dive(struct dive *dive) startpress = press; } if (temp) { - endtemp = temp; - if (!starttemp) - starttemp = temp; if (!mintemp || temp < mintemp) mintemp = temp; } |