]> git.tdb.fi Git - ext/subsurface.git/blobdiff - parse-xml.c
Do a dive de-dup pass
[ext/subsurface.git] / parse-xml.c
index 5a1a1601e9642787c085ea3b10df42a2073c0e15..3a84e296321d06b1453f86c2d868f78ff5b4cc8e 100644 (file)
@@ -636,11 +636,6 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
        nonmatch("dive", name, buf);
 }
 
-static unsigned int dive_size(int samples)
-{
-       return sizeof(struct dive) + samples*sizeof(struct sample);
-}
-
 /*
  * File boundaries are dive boundaries. But sometimes there are
  * multiple dives per file, so there can be other events too that