Fix build problem

In commit 86c961614b ("Actually walk all dive computers, don't just
claim to do so") I somehow managed to forget one hunk of the patch (I was
editing out debug messages). And I clearly forgot to test compile the
final patch as pushed. Apologies.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-20 06:24:03 +12:00
parent 837dcde0c1
commit f8f5ffa697

View file

@ -442,8 +442,9 @@ static void check_setpoint_events(struct dive *dive, struct divecomputer *dc, st
}
struct plot_info calculate_max_limits_new(struct dive *dive, struct divecomputer *dc)
struct plot_info calculate_max_limits_new(struct dive *dive)
{
struct divecomputer *dc = &(dive->dc);
static struct plot_info pi;
int maxdepth = dive->maxdepth.mm;
int maxtime = 0;