1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-21248: Do not break the build on clang

This commit is contained in:
Marko Mäkelä
2020-02-08 11:40:55 +02:00
parent 35c2778519
commit 6eed99f1f3

View File

@ -7394,7 +7394,7 @@ long max_stack_used;
*/
bool
#ifdef __GNUC__
#if defined __GNUC__ && !defined __clang__
/*
Do not optimize the function in order to preserve a stack variable creation.
Otherwise, the variable pointed as "buf" can be removed due to a missing