More removal of unused arguments

Just trying to clean up the code a bit.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2012-01-05 08:12:57 -08:00
parent 1d6903c65a
commit 3d75c73f36
2 changed files with 6 additions and 7 deletions

View file

@ -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]);