summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2021-10-25 22:20:29 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2021-10-26 15:05:13 +0200
commit1fb4537e6fe9c1578c2857542fff91e00c0e3292 (patch)
treed8808d97f75487aec719a15855130f058b17c450
parent20848007686e24dbb4283b3b3c5a8acfb32d6ac2 (diff)
downloadmariadb-git-1fb4537e6fe9c1578c2857542fff91e00c0e3292.tar.gz
Safemalloc typo fix found by clang.
-rw-r--r--mysys/safemalloc.c4
1 files changed, 2 insertions, 2 deletions
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;
}
/**