From 1fb4537e6fe9c1578c2857542fff91e00c0e3292 Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Mon, 25 Oct 2021 22:20:29 +0200 Subject: Safemalloc typo fix found by clang. --- mysys/safemalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysys') diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c index 47ba8a0d920..58d4a13e9a6 100644 --- a/mysys/safemalloc.c +++ b/mysys/safemalloc.c @@ -352,9 +352,9 @@ static int sf_sanity() if (count || irem) { warn("Error: Safemalloc link list destroyed"); - return 1; + flag= 1; } - return 0; + return flag; } /** -- cgit v1.2.1