diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-04-05 14:35:41 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-04-05 14:35:41 +0300 |
commit | 09b28b3d10af1dfca7d9f97d7a11a44873a61e4e (patch) | |
tree | b862ead075194be01517a0efa11e9d3bf7a6ea5d /sql/wsrep_mysqld.h | |
parent | 4b1cf0bba6b0aeb3bff7bf1edcfa17d539534325 (diff) | |
download | mariadb-git-09b28b3d10af1dfca7d9f97d7a11a44873a61e4e.tar.gz |
Fix compiler warnings on gcc 6.x.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r-- | sql/wsrep_mysqld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h index 5ec183f7186..7f574cb996a 100644 --- a/sql/wsrep_mysqld.h +++ b/sql/wsrep_mysqld.h @@ -207,7 +207,7 @@ extern wsrep_seqno_t wsrep_locked_seqno; strcmp(wsrep_provider, WSREP_NONE)) #define WSREP(thd) \ - (WSREP_ON && wsrep && (thd && thd->variables.wsrep_on)) + (WSREP_ON && wsrep && (thd->variables.wsrep_on)) #define WSREP_CLIENT(thd) \ (WSREP(thd) && thd->wsrep_client_thread) |