diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-09-01 17:58:59 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2019-09-10 21:31:21 +0200 |
commit | dd423bffb9f248735311ab639639c7b1996d759c (patch) | |
tree | 88f85ee18263d301ef4dc91ad6bd78cbd26f5128 /core | |
parent | ee365b734119be424e48c4a2cef5f54021521cb8 (diff) | |
download | subsurface-dd423bffb9f248735311ab639639c7b1996d759c.tar.gz |
Cleanup: remove global disclaimer variable
That was used to store the disclaimer of the last plan. The
functionality was disfunctional for a long time, therefore
remove the variable.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r-- | core/planner.c | 1 | ||||
-rw-r--r-- | core/planner.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/core/planner.c b/core/planner.c index 3fef02248..b7bc56eab 100644 --- a/core/planner.c +++ b/core/planner.c @@ -35,7 +35,6 @@ static int decostoplevels_imperial[] = { 0, 3048, 6096, 9144, 12192, 15240, 1828 182880, 193040, 203200, 223520, 243840, 264160, 284480, 304800, 325120, 345440, 365760, 386080 }; -char *disclaimer; #if DEBUG_PLAN void dump_plan(struct diveplan *diveplan) { diff --git a/core/planner.h b/core/planner.h index 4d25c49eb..06600054d 100644 --- a/core/planner.h +++ b/core/planner.h @@ -56,7 +56,6 @@ extern char *get_planner_disclaimer_formatted(); extern void free_dps(struct diveplan *diveplan); extern struct dive *planned_dive; extern char *cache_data; -extern char *disclaimer; struct divedatapoint *plan_add_segment(struct diveplan *diveplan, int duration, int depth, int cylinderid, int po2, bool entered, enum divemode_t divemode); struct divedatapoint *create_dp(int time_incr, int depth, int cylinderid, int po2); |