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

@ -1340,7 +1340,7 @@ static void fixup_surface_pressure(struct dive *dive)
/* if the surface pressure in the dive data is redundant to the calculated
* value (i.e., it was added by running fixup on the dive) return 0,
* otherwise return the air temperature given in the dive */
* otherwise return the surface pressure given in the dive */
pressure_t un_fixup_surface_pressure(const struct dive *d)
{
pressure_t res = d->surface_pressure;