Cleanup: small coding style fixes

And addressing a cut and paste error in a comment.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2019-05-15 07:42:14 -07:00
parent 1bdf00b2b4
commit 2feedf46fa
8 changed files with 13 additions and 17 deletions

View file

@ -461,8 +461,7 @@ void calc_crushing_pressure(struct deco_state *ds, double pressure)
if (gradient <= vpmb_config.gradient_of_imperm) { // permeable situation
n2_crushing_pressure = he_crushing_pressure = gradient;
ds->crushing_onset_tension[ci] = gas_tension;
}
else { // impermeable
} else { // impermeable
if (ds->max_ambient_pressure >= pressure)
return;