summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.h
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-04-05 14:35:41 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-04-05 14:35:41 +0300
commit09b28b3d10af1dfca7d9f97d7a11a44873a61e4e (patch)
treeb862ead075194be01517a0efa11e9d3bf7a6ea5d /sql/wsrep_mysqld.h
parent4b1cf0bba6b0aeb3bff7bf1edcfa17d539534325 (diff)
downloadmariadb-git-09b28b3d10af1dfca7d9f97d7a11a44873a61e4e.tar.gz
Fix compiler warnings on gcc 6.x.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r--sql/wsrep_mysqld.h2
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)