summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-08 08:19:13 -0600
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-12-08 16:29:49 +0100
commit39ed1b657ae247548ecbe7a26aac83999f5ba8b8 (patch)
treef0184430c37ea2b1f6c965152f54b8e19c0ca4e4 /core/dive.c
parent4ccb70011c566b7b81eff52c32707dd73555ea05 (diff)
downloadsubsurface-39ed1b657ae247548ecbe7a26aac83999f5ba8b8.tar.gz
Cleanup: remove unused parameter
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dive.c b/core/dive.c
index f37ad6272..d990f6a2f 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -1423,7 +1423,7 @@ static void fixup_dc_depths(struct dive *dive, struct divecomputer *dc)
dive->maxdepth.mm = maxdepth;
}
-static void fixup_dc_ndl(struct dive *dive, struct divecomputer *dc)
+static void fixup_dc_ndl(struct divecomputer *dc)
{
int i;
@@ -1654,7 +1654,7 @@ static void fixup_dive_dc(struct dive *dive, struct divecomputer *dc)
fixup_dc_depths(dive, dc);
/* Fix up first sample ndl data */
- fixup_dc_ndl(dive, dc);
+ fixup_dc_ndl(dc);
/* Fix up dive temperatures based on dive computer samples */
fixup_dc_temp(dive, dc);