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
@ -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)
|
||||
{
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user