X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=parse-xml.c;h=3a84e296321d06b1453f86c2d868f78ff5b4cc8e;hb=5f05173e793d49319c727240014b59a04bd4075c;hp=5a1a1601e9642787c085ea3b10df42a2073c0e15;hpb=ef0d00e76a2343f5d730eff3381d6715e3134ae8;p=ext%2Fsubsurface.git diff --git a/parse-xml.c b/parse-xml.c index 5a1a160..3a84e29 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -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