Commit c2c098ab authored by Nick Mathewson's avatar Nick Mathewson

Remove two more unneeded zero checks in bitops.c

parent 8ffc8e0a
......@@ -64,8 +64,6 @@ static __inline int clz32(unsigned long val)
static inline int clz64(uint64_t x)
{
int rv = 0;
if (!x)
return 64;
process64(32);
process64(16);
......@@ -79,8 +77,6 @@ static inline int clz64(uint64_t x)
static inline int clz32(uint32_t x)
{
int rv = 0;
if (!x)
return 32;
process32(16);
process32(8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment