changeset 176:1719b9d1094b max-depth

cleanup: do not assign to same Interestingly, this weird line sometimes results in a compile error. Well it seems useless anyhow. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 11 Mar 2019 20:20:17 +0100
parents 9da7dd50e2ec
children 458f16cda15c
files Discovery/Src/simulation.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/simulation.c	Mon Mar 11 19:57:51 2019 +0100
+++ b/Discovery/Src/simulation.c	Mon Mar 11 20:20:17 2019 +0100
@@ -616,7 +616,6 @@
     {
         // ascent time
         timeThis = ((float)(actualDepthPoint - nextDepthPoint)) / sim_ascent_rate_meter_per_min_local;
-        actualDepthPoint = actualDepthPoint; // that is where we are
 
         // deco stop time
         for(ptrDecoInfo=0;ptrDecoInfo < DECOINFO_STRUCT_MAX_STOPS; ptrDecoInfo++)