summaryrefslogtreecommitdiffstats
path: root/uemis.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 21:06:00 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-14 21:06:00 -0800
commitb5139aeb22c8a28cac89b7f9a561bd9d4e2bb358 (patch)
tree83a245b25b27816d190b79bdb31003d3e8861deb /uemis.c
parentb0759feef87fcf820682cb36d65f2252c2cc12ae (diff)
parent0a9e5aa7353476d70c4eb9866aeda979118d04e5 (diff)
downloadsubsurface-b5139aeb22c8a28cac89b7f9a561bd9d4e2bb358.tar.gz
Merge branch 'forlinus' of git://git.hohndel.org/subsurface
* 'forlinus' of git://git.hohndel.org/subsurface: Return is not a function
Diffstat (limited to 'uemis.c')
-rw-r--r--uemis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis.c b/uemis.c
index 86b186043..28302b1c0 100644
--- a/uemis.c
+++ b/uemis.c
@@ -88,7 +88,7 @@ static int pressure_to_depth(uint16_t value)
atm = bar_to_atm(value / 100.0);
cm = 100 * atm + 0.5;
- return( (cm > 0) ? 10 * (long)cm : 0);
+ return (cm > 0) ? 10 * (long)cm : 0;
}
/*