mirror of
https://github.com/fluencelabs/redis
synced 2025-04-30 13:02:14 +00:00
useless expression removed in zmalloc.c
This commit is contained in:
parent
360664c9c8
commit
c13c4080e5
@ -186,7 +186,7 @@ size_t zmalloc_used_memory(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t zmalloc_allocations_for_size(size_t size) {
|
size_t zmalloc_allocations_for_size(size_t size) {
|
||||||
if (size > ZMALLOC_MAX_ALLOC_STAT || size < 0) return 0;
|
if (size > ZMALLOC_MAX_ALLOC_STAT) return 0;
|
||||||
return zmalloc_allocations[size];
|
return zmalloc_allocations[size];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user