summaryrefslogtreecommitdiffhomepage
path: root/utils.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-04-14 08:45:26 +0200
committerSteven Barth <steven@midlink.org>2015-04-14 08:45:26 +0200
commit8b468ec5022834d04b6be1cf45b4fe4f092c692e (patch)
tree3f3f137fc8959b54297a8b7b2a87d56990ee73af /utils.h
parent92d2aea918f650f309f753349457028032d53280 (diff)
Cleanup issues reported by scan-build
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 7973b6f..301a075 100644
--- a/utils.h
+++ b/utils.h
@@ -99,7 +99,7 @@ static inline int fls(int x)
r -= 2;
}
if (!(x & 0x80000000u)) {
- x <<= 1;
+ //x <<= 1;
r -= 1;
}
return r;