diff Discovery/Src/simulation.c @ 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 cc9c18075e00
children 2bb1db22b5f5
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++)