fixed compiler warning

'register' storage class specifier is deprecated and incompatible with
C++17
This commit is contained in:
Andrey Prygunkov
2019-01-26 16:33:30 +01:00
parent adf3e05e1d
commit a665dc5375

View File

@@ -493,7 +493,7 @@ b -= c; b -= a; b ^= (a<<10); \
c -= a; c -= b; c ^= (b>>15); \
}
uint32 hash(register uint8 *k, register uint32 length, register uint32 initval)
uint32 hash(uint8 *k, uint32 length, uint32 initval)
// register uint8 *k; /* the key */
// register uint32 length; /* the length of the key */
// register uint32 initval; /* the previous hash, or an arbitrary value */