diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-20 06:24:03 +1200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-20 06:24:03 +1200 |
commit | f8f5ffa69741982a1b7d658775219b8ddfacd242 (patch) | |
tree | 4e1b60d0d46f46c551872a7325acbfd8107b651f /profile.c | |
parent | 837dcde0c180883e3d75e90459b06bde9789b797 (diff) | |
download | subsurface-f8f5ffa69741982a1b7d658775219b8ddfacd242.tar.gz |
Fix build problem
In commit 86c961614bfa ("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>
Diffstat (limited to 'profile.c')
-rw-r--r-- | profile.c | 3 |
1 files changed, 2 insertions, 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; |