From df9c213bb0b90c57867d25d272729d8492244582 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 4 Jan 2021 23:16:19 +0200 Subject: remove unused call to zmalloc_size in defrag.c (#8285) --- src/defrag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/defrag.c b/src/defrag.c index fc327c506..e189deddd 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) { void *newptr; if(!je_get_defrag_hint(ptr)) { server.stat_active_defrag_misses++; - size = zmalloc_size(ptr); return NULL; } /* move this allocation to a new allocation. -- cgit v1.2.1