summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-03 21:24:52 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-03 21:40:56 -0800
commitd24d2288f30e8666667c5437802d22533a94e1ec (patch)
treefdfaa1befe6122a756da19af329b66c7e1778bc1 /uemis-downloader.c
parent99b8e85d739387c0c8342535b28e010cdac74a5f (diff)
downloadsubsurface-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 'uemis-downloader.c')
-rw-r--r--uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index f5467e854..c9d57acfb 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -564,7 +564,7 @@ static void parse_divespot(char *buf)
while (*tag && strcmp(tag, "object_id"));
if (!*tag)
return;
- type = next_token(&bp);
+ next_token(&bp);
val = next_token(&bp);
divespot = atoi(val);
do {