diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-08-18 10:03:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-18 06:42:01 -0700 |
commit | 72806e42bc23ab7c7f2a639a1efee017388b53bc (patch) | |
tree | f367ec161dec60ad7247322cd8a603fc4a3a91d1 /planner.c | |
parent | 4e89a6020ec02fdc7a7af9b59ef918cb610f5a76 (diff) | |
download | subsurface-72806e42bc23ab7c7f2a639a1efee017388b53bc.tar.gz |
Replace global in_planner variable by helper function
as promised earlier
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -33,14 +33,6 @@ int decostoplevels_imperial[] = { 0, 3048, 6096, 9144, 12192, 15240, 18288, 2133 double plangflow, plangfhigh; bool plan_verbatim, plan_display_runtime, plan_display_duration, plan_display_transitions; -/* This is a bit round about: Currently, we only support VPM-B in the planner, - * so, when we compute ceilings we have to know if we are in planning mode since - * the maximally allowed gradient in the tissues is determined by the critical volume algorithm for - * which we currently have no version for logged dives. But the information about the application state - * is only available in the C++/Qt part. So this global variable is a way to leak this info. */ - -bool in_planner = false; - const char *disclaimer; #if DEBUG_PLAN |