summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-12 18:12:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-12 12:34:40 -0400
commit3b30009d7a6e5fe91af6109e72e4bfa04f577eef (patch)
tree06518f43f3ed36e42c82763eb7e414ffa03999b7 /profile.c
parent9c0e2fc823bd75ca4c01ee4cb66b5153b7cead4f (diff)
downloadsubsurface-3b30009d7a6e5fe91af6109e72e4bfa04f577eef.tar.gz
Remove unused variables
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/profile.c b/profile.c
index 79917d6e6..4f6517b77 100644
--- a/profile.c
+++ b/profile.c
@@ -824,7 +824,6 @@ static void calculate_gas_information_new(struct dive *dive, struct plot_info *p
{
int i;
double amb_pressure;
- struct gas_pressures pressures;
for (i = 1; i < pi->nr; i++) {
int fo2, fhe;
@@ -894,9 +893,7 @@ static void debug_print_profiledata(struct plot_info *pi)
*/
void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi)
{
- FILE *f1;
- int i, o2, he, o2low;
- struct plot_data *entry;
+ int o2, he, o2low;
init_decompression(dive);
/* Create the new plot data */
free((void *)last_pi_entry_new);