summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-09-13 18:11:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-09-13 18:11:32 +0300
commitbfbf0f225179d79c1c568b93ddc8b5dd6a670072 (patch)
treef4455a81325f63be9677070ee7e0e293e157712b /dbug
parentb214264aee2a6441abc7c8e73519c8267edcb8fa (diff)
downloadmariadb-git-bfbf0f225179d79c1c568b93ddc8b5dd6a670072.tar.gz
MDEV-20525: Fix the -std=c90 builds
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 2d629ac0741..356dc319b1f 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -2262,8 +2262,8 @@ extern my_bool my_assert;
ATTRIBUTE_COLD
my_bool _db_my_assert(const char *file, int line, const char *msg)
{
- _db_flush_();
my_bool a = my_assert;
+ _db_flush_();
if (!a)
fprintf(stderr, "%s:%d: assert: %s\n", file, line, msg);
return a;