Mercurial > public > ostc4
diff Discovery/Src/buehlmann.c @ 51:8f8ea3a32e82
Resolved warnings pointing to possible invalid memory access
author | Ideenmodellierer |
---|---|
date | Tue, 31 Jul 2018 22:28:21 +0200 |
parents | 5f11787b4f42 |
children | b7689d9e888a |
line wrap: on
line diff
--- a/Discovery/Src/buehlmann.c Mon Jul 30 11:37:39 2018 +0200 +++ b/Discovery/Src/buehlmann.c Tue Jul 31 22:28:21 2018 +0200 @@ -1,5 +1,5 @@ -/* getrennte Gase für die verschiedenen Modi - um Gaswechsel Einträge zu vereinfachen +/* getrennte Gase f�r die verschiedenen Modi + um Gaswechsel Eintr�ge zu vereinfachen das heisst: oc == bailout in cc mode */ @@ -545,7 +545,7 @@ int ascend_with_all_gaschanges(float pressure_decrease) { float pressureTop, pressureTop_tmp, pressureBottom, pressureChange, ascendrate_in_seconds_for_one_bar, pressure_difference; - int time_for_ascend; + int time_for_ascend = 0; int seconds; int i;