summaryrefslogtreecommitdiffstats
path: root/subsurface-core/profile.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-06 21:39:19 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:21:44 -0800
commitd7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a (patch)
treed5546bd47da8640c9c285eadd648a8af01bf4377 /subsurface-core/profile.c
parent5bf0e48700004c093f9f755d36ae1bec2ebb85d3 (diff)
downloadsubsurface-d7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a.tar.gz
Clean up more unused variables
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/profile.c')
-rw-r--r--subsurface-core/profile.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/subsurface-core/profile.c b/subsurface-core/profile.c
index 8d5cebdba..4d9a8444f 100644
--- a/subsurface-core/profile.c
+++ b/subsurface-core/profile.c
@@ -442,7 +442,7 @@ static void check_setpoint_events(struct dive *dive, struct divecomputer *dc, st
{
int i = 0;
pressure_t setpoint;
-
+ (void) dive;
setpoint.mbar = 0;
struct event *ev = get_next_event(dc->events, "SP change");
@@ -557,11 +557,12 @@ struct plot_info calculate_max_limits_new(struct dive *dive, struct divecomputer
struct plot_data *populate_plot_entries(struct dive *dive, struct divecomputer *dc, struct plot_info *pi)
{
+
int idx, maxtime, nr, i;
int lastdepth, lasttime, lasttemp = 0;
struct plot_data *plot_data;
struct event *ev = dc->events;
-
+ (void) dive;
maxtime = pi->maxtime;
/*
@@ -821,6 +822,8 @@ static void calculate_sac(struct dive *dive, struct plot_info *pi)
static void populate_secondary_sensor_data(struct divecomputer *dc, struct plot_info *pi)
{
+ (void) dc;
+ (void) pi;
/* We should try to see if it has interesting pressure data here */
}