mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1bdf00b2b4
commit
2feedf46fa
8 changed files with 13 additions and 17 deletions
|
@ -582,8 +582,7 @@ int init_decompression(struct deco_state *ds, struct dive *dive)
|
|||
printf("Tissues after init:\n");
|
||||
dump_tissues(ds);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
surface_time = pdive->when - last_endtime;
|
||||
if (surface_time < 0) {
|
||||
#if DECO_CALC_DEBUG & 2
|
||||
|
@ -620,8 +619,7 @@ int init_decompression(struct deco_state *ds, struct dive *dive)
|
|||
printf("Tissues after no previous dive, surface time set to 48h:\n");
|
||||
dump_tissues(ds);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
surface_time = dive->when - last_endtime;
|
||||
if (surface_time < 0) {
|
||||
#if DECO_CALC_DEBUG & 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue