summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-04 22:01:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-05 08:16:50 -0800
commit1d6903c65a4980ac51a3508db6a388ab07111341 (patch)
tree94f8a2ee1c4f363e44f1ddeebe2577404bafaf4b /parse-xml.c
parent854391419f7ed669eab43ed36c6a13a313eb3436 (diff)
downloadsubsurface-1d6903c65a4980ac51a3508db6a388ab07111341.tar.gz
Oddly, finishing a sample doesn't require a sample
So let's not pass it around Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 684061072..6af4a9338 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1104,7 +1104,7 @@ static void sample_end(void)
if (!dive)
return;
- finish_sample(dive, sample);
+ finish_sample(dive);
sample = NULL;
}