]> git.tdb.fi Git - ext/subsurface.git/blobdiff - parse-xml.c
Oddly, finishing a sample doesn't require a sample
[ext/subsurface.git] / parse-xml.c
index 6840610728e0e0f6da0f89d1218e11d7c9a101c5..6af4a93380ee8112fbfa9b33d234a76f75d70308 100644 (file)
@@ -1104,7 +1104,7 @@ static void sample_end(void)
        if (!dive)
                return;
 
-       finish_sample(dive, sample);
+       finish_sample(dive);
        sample = NULL;
 }