summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-05 08:12:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-01-05 08:16:50 -0800
commit3d75c73f3677d98682b31766334ab02f124c76b9 (patch)
treed35100ab2ec9cd6b29d67c4280a8aa5671225bd6 /profile.c
parent1d6903c65a4980ac51a3508db6a388ab07111341 (diff)
downloadsubsurface-3d75c73f3677d98682b31766334ab02f124c76b9.tar.gz
More removal of unused arguments
Just trying to clean up the code a bit. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/profile.c b/profile.c
index 822e30c0e..137ed6f88 100644
--- a/profile.c
+++ b/profile.c
@@ -1014,8 +1014,7 @@ static void dump_pr_track(pr_track_t **track_pr)
}
}
-static void fill_missing_tank_pressures(struct dive *dive, struct plot_info *pi,
- pr_track_t **track_pr)
+static void fill_missing_tank_pressures(struct plot_info *pi, pr_track_t **track_pr)
{
pr_track_t *list = NULL;
pr_track_t *nlist = NULL;
@@ -1338,7 +1337,7 @@ static struct plot_info *create_plot_info(struct dive *dive, int nr_samples, str
pi->meandepth = dive->meandepth.mm;
if (missing_pr) {
- fill_missing_tank_pressures(dive, pi, track_pr);
+ fill_missing_tank_pressures(pi, track_pr);
}
for (cyl = 0; cyl < MAX_CYLINDERS; cyl++)
list_free(track_pr[cyl]);