summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 13:47:01 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-08 13:47:01 -0800
commit77f4802ed66a3c2793199805100ece51056cbabf (patch)
treef5e4a03f326ad99916f8db34caca056db3fe3a84 /deco.c
parent8eb92c576c040b5366d3ac2511ccf579882be9a7 (diff)
downloadsubsurface-77f4802ed66a3c2793199805100ece51056cbabf.tar.gz
Minor cleanups
Coding style in deco.c. Unneccessary if clause in profile.c (the loop starts with i = 1) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index 83cf7528c..a5ab3ac56 100644
--- a/deco.c
+++ b/deco.c
@@ -129,7 +129,7 @@ double add_segment(double pressure, struct gasmix *gasmix, int period_in_seconds
double ppn2 = (pressure - WV_PRESSURE) * (1000 - fo2 - gasmix->he.permille) / 1000.0;
double pphe = (pressure - WV_PRESSURE) * gasmix->he.permille / 1000.0;
- if(pressure > gf_low_pressure_this_dive)
+ if (pressure > gf_low_pressure_this_dive)
gf_low_pressure_this_dive = pressure;
if (ccpo2 > 0.0) { /* CC */