mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
837dcde0c1
commit
f8f5ffa697
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue