Drop not needed part from #7194.
This commit is contained in:
parent
154e735c46
commit
5fdc5e5c25
@ -768,7 +768,7 @@ dictEntry *dictGetFairRandomKey(dict *d) {
|
||||
static unsigned long rev(unsigned long v) {
|
||||
unsigned long s = CHAR_BIT * sizeof(v); // bit size; must be power of 2
|
||||
unsigned long mask = ~0UL;
|
||||
while ((s >>= 1) > 0UL) {
|
||||
while ((s >>= 1) > 0) {
|
||||
mask ^= (mask << s);
|
||||
v = ((v >> s) & mask) | ((v << s) & ~mask);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user