summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Gelas <arnaud.gelas@sensefly.com>2019-11-19 15:24:54 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-11-19 15:25:39 +0100
commit1e21400a7923a2e539c7a4b078fb3e445a493c35 (patch)
tree0dc7bade5f9ef87b7dfa9f3cce4bb8aa6407a3fb
parentff70e53b65e700db6c53c48eaa84fba77b815450 (diff)
downloadcmocka-1e21400a7923a2e539c7a4b078fb3e445a493c35.tar.gz
cmocka-1e21400a7923a2e539c7a4b078fb3e445a493c35.tar.xz
cmocka-1e21400a7923a2e539c7a4b078fb3e445a493c35.zip
cmocka: Fix indentation
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/cmocka.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmocka.c b/src/cmocka.c
index 031e397..76a9b93 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -1148,10 +1148,10 @@ static int float_compare(const float left,
absLeft = (left >= 0.f) ? left : -left;
absRight = (right >= 0.f) ? right : -right;
- largest = (absRight > absLeft) ? absRight : absLeft;
+ largest = (absRight > absLeft) ? absRight : absLeft;
relDiff = largest * FLT_EPSILON;
- if (diff > relDiff) {
+ if (diff > relDiff) {
return 0;
}
return 1;