diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-03 21:24:52 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-03 21:40:56 -0800 |
commit | d24d2288f30e8666667c5437802d22533a94e1ec (patch) | |
tree | fdfaa1befe6122a756da19af329b66c7e1778bc1 /libdivecomputer.c | |
parent | 99b8e85d739387c0c8342535b28e010cdac74a5f (diff) | |
download | subsurface-d24d2288f30e8666667c5437802d22533a94e1ec.tar.gz |
Remove pointless assignments
tissue_tolerance wasn't used after it was assigned.
type was overwritten after it was assigned.
serial was overwritten after the last /= 100.
event is assigned in the for loop.
clear isn't used after the assignment
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r-- | libdivecomputer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index 86cea5a80..312f83c9a 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -577,7 +577,6 @@ static unsigned int undo_libdivecomputer_suunto_nr_changes(unsigned int serial) b2 = serial % 100; serial /= 100; b3 = serial % 100; - serial /= 100; serial = b0 + (b1 << 8) + (b2 << 16) + (b3 << 24); return serial; |