aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--planner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.c b/planner.c
index c8f9fe462..3efa702d0 100644
--- a/planner.c
+++ b/planner.c
@@ -948,6 +948,7 @@ int plan(struct diveplan *diveplan, char **cached_datap, bool is_planner, bool s
free(stoplevels);
free(gaschanges);
+ return error;
}
/*