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>
This commit is contained in:
Dirk Hohndel 2014-03-03 21:24:52 -08:00
parent 99b8e85d73
commit d24d2288f3
5 changed files with 5 additions and 8 deletions

View file

@ -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 {