mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 09:17:20 +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) {
|
||||
if (size > ZMALLOC_MAX_ALLOC_STAT || size < 0) return 0;
|
||||
if (size > ZMALLOC_MAX_ALLOC_STAT) return 0;
|
||||
return zmalloc_allocations[size];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user