mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
ee365b7341
commit
dd423bffb9
2 changed files with 0 additions and 2 deletions
|
@ -35,7 +35,6 @@ static int decostoplevels_imperial[] = { 0, 3048, 6096, 9144, 12192, 15240, 1828
|
||||||
182880, 193040, 203200, 223520, 243840, 264160, 284480, 304800,
|
182880, 193040, 203200, 223520, 243840, 264160, 284480, 304800,
|
||||||
325120, 345440, 365760, 386080 };
|
325120, 345440, 365760, 386080 };
|
||||||
|
|
||||||
char *disclaimer;
|
|
||||||
#if DEBUG_PLAN
|
#if DEBUG_PLAN
|
||||||
void dump_plan(struct diveplan *diveplan)
|
void dump_plan(struct diveplan *diveplan)
|
||||||
{
|
{
|
||||||
|
|
|
@ -56,7 +56,6 @@ extern char *get_planner_disclaimer_formatted();
|
||||||
extern void free_dps(struct diveplan *diveplan);
|
extern void free_dps(struct diveplan *diveplan);
|
||||||
extern struct dive *planned_dive;
|
extern struct dive *planned_dive;
|
||||||
extern char *cache_data;
|
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 *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);
|
struct divedatapoint *create_dp(int time_incr, int depth, int cylinderid, int po2);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue